Novemberborn: Getting Funky With Scopes and Closures: "This lets you do some really cool things. Ever wanted to create private methods in JavaScript? Now you can!"
Note this is an improvement on the prototype solution - need to check the differences between scope of function declarations in prototype and in general functions.
No comments:
Post a Comment