new operator in JavaScript
http://stackoverflow.com/questions/1646698/what-is-the-new-keyword-in-javascript
IIFE
http://benalman.com/news/2010/11/immediately-invoked-function-expression/
1. namespace; 2. locked parameter/global import;
Foundation
1. The main difference is that apply lets you invoke the function with arguments as an array; call requires the parameters be listed explicitly.
Function: http://huaban.com/pins/74399894/zoom/
2. 在javascript 中函數就是對象,應該像對待javascript中其他對象一樣對待函數,每個函數都隱式附加兩個額外參數this,arguments。
http://www.cnblogs.com/qiuwuyu/archive/2011/02/21/1959411.html
3. var functionName = function() {} vs function functionName() {}
4. function scope. no block scope
http://stackoverflow.com/questions/500431/javascript-variable-scope
http://coding.smashingmagazine.com/2009/08/01/what-you-need-to-know-about-javascript-scope/
5. objects
6. prototype
7. browser functions
References