Ray's playground

 

2010年7月8日

Functions part1(Chapter 4 of JavaScript: The Good Parts)

摘要: There are four patterns of invocation in JavaScript: the method invocation pattern, the function invocation pattern, the constructor invocation pattern, and the apply invocation pattern. The patterns ... 阅读全文

posted @ 2010-07-08 22:40 Ray Z 阅读(324) 评论(0) 推荐(0)

Objects(Chapter 3 of JavaScript: The Good Parts)

摘要: The undefined value is produced if an attempt is made to retrieve a nonexistent member:  Attempting to retrieve values from undefined will throw a TypeError exception. This can be guarded against with... 阅读全文

posted @ 2010-07-08 12:47 Ray Z 阅读(214) 评论(0) 推荐(0)

导航