This question already has an answer here:
- Dispose in Client Object Model 3 answers
I'm little bit confused about JS's COM in SharePoint 2013 and disposing ClientContext object. As far as I can see from earlier versions of SP (2010 mainly) you had to dispose ClientContext and according to MSDN there is a method on this object called Dispose. However, when I'm trying to dispose ClientContext object, I got error that object doesn't have this method. Also, IntelliSense is not exposing it.