Ray's playground

 

2011年1月10日

Variables, Scope, and Memory(Chapter 4 of Professional JavaScript® for Web Developers 2nd Edition)

摘要: JavaScript ’ s lack of block - level scopes is a common source of confusion.[代码]  When a variable is declared using var , it is automatically added to the most immediate contextavailable. In a function, the most immediate one is the function ’ s local context; in a with statement, themost immediate 阅读全文

posted @ 2011-01-10 19:55 Ray Z 阅读(182) 评论(0) 推荐(0) 编辑

Language Basics(Chapter 3 of Professional JavaScript® for Web Developers 2nd Edition)

摘要: The end result was forECMAScript to provide two sets of operators: equal and not equal to perform conversion beforecomparison, and identically equal and not identically equal to perform comparison without conversion.equalityCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.C 阅读全文

posted @ 2011-01-10 18:55 Ray Z 阅读(193) 评论(0) 推荐(0) 编辑

Objective-C(Chapter 3 of Cocoa Programming for Mac OS X)

摘要: [代码][代码][代码] 阅读全文

posted @ 2011-01-10 10:45 Ray Z 阅读(274) 评论(0) 推荐(0) 编辑

导航