1. prototype & constructor的概念
2. closure
3. apply call
4. package
5. console.log
6. 一般function的this是指向global => 改用that
7. JSLint
8. 當constructor的function通常把第一個字母大寫,已避免誤用
9. function中會自動產生arguments物件
10. Exception
11. prototype的method 用來create method
- 透過prototype擴充method
12. JavaScript
- no block scope
- function scope
13. 例用closure創造Module => 達到 private member variable以及security的功能
14. Curry, 透過closure, 將原來的function加料
15. 透過closure記住之前計算過的東西
16. === , !==
About Me
星期日, 9月 21, 2008
Book Study: Javascript: the Good part
訂閱:
張貼留言 (Atom)


0 意見:
張貼留言