Learning Advanced JavaScript

介绍

这是 jquery 作者 John Resig 出的一个高级 JS 教程,原文来自 《Secrets of the Javascript Ninja》,里面的内容对于提升 js 的理解和使用有非常大的帮助。刚开始工作的时候读过,一直念念不忘,时隔几年,终于有时间将它翻译,温故而知新,与君共勉。

目录

  1. Our Goal
  2. Defining Functions
  3. Named Functions
  4. Functions as Objects
  5. Context
  6. Instantiation
  7. Flexible Arguments
  8. Closures
  9. Temporary Scope
  10. Function Prototypes
  11. Instance Type
  12. Inheritance
  13. Built-in Prototypes
  14. Enforcing Function Context
  15. Function Length

参考

  1. Learning Advanced JavaScript