javascript
yaoloveme1314
这个作者很懒,什么都没留下…
展开
-
javascipt scope
From Apress ProJavaScriptTechniquesIn JavaScript, scope is kept within functions, but not within blocks (such as while, if, and for statements).js 代码 // Set a global variable, foo, equal t...2006-12-28 11:01:00 · 144 阅读 · 0 评论 -
The way of checking the type of an object
Apress ProJavaScriptTechniques The first way of checking the type of an object is by using the obvious-sounding typeof operator.js 代码 // Check to see if our number is actually a string ...2006-12-28 11:06:00 · 116 阅读 · 0 评论