JavaScript has lot of concepts around it. There are things that you might miss out. Lets see some of them.
- In JavaScript there are some variables starting as __ (__defineGetter, __defineSetter, __proto__). These are variables defined by the browser and are not defined by ECMAScript #convention (link2)
- Best practice to define libraries is to define one global variable (google, jquery) and define all your methods/variables within the scope of that object
- JavaScript curry
- Adding custom headers to JQuery AJAX request
- Browser closing events
- http://stackoverflow.com/questions/1119289/how-to-show-the-are-you-sure-you-want-to-navigate-away-from-this-page-when-ch
- http://stackoverflow.com/questions/2076299/how-to-close-current-tab-in-a-browser-window
- http://stackoverflow.com/questions/4869613/solutions-for-distributing-html5-applications-as-desktop-applications
Scope and Context in JavaScript
0 comments:
Post a Comment