Functions vs. Methods in JavaScript with Encapsulation!
Hi Folks, I found something interesting to share with all of you in Javascript. Functions in javascript as we all know is defined with function keyword while Method in Javascript is a function but can have a scope and you can hide it as we do in object
Read More...
Read the complete post at http://moustafa-arafa.blogspot.com/2012/12/functions-vs-methods-in-javascript-with.html