上一页 1 ··· 4 5 6 7 8
摘要: JavaScript’s core—most often used and most fundamental—data type is the Object data type. JavaScript has one complex data type, the Object data type, 阅读全文
posted @ 2016-04-22 21:25 RachelChen 阅读(257) 评论(0) 推荐(0) 编辑
摘要: The this keyword in JavaScript confuses new and seasoned JavaScript developers alike. This article aims to elucidate this in its entirety. By the time 阅读全文
posted @ 2016-04-22 18:42 RachelChen 阅读(369) 评论(0) 推荐(0) 编辑
摘要: In JavaScript, functions are first-class objects; that is, functions are of the type Object and they can be used in a first-class manner like any othe 阅读全文
posted @ 2016-04-22 17:56 RachelChen 阅读(333) 评论(0) 推荐(0) 编辑
摘要: Understand JavaScript Closures With Ease Closures allow JavaScript programmers to write better code. Creative, expressive, and concise. We frequently 阅读全文
posted @ 2016-04-22 15:58 RachelChen 阅读(444) 评论(0) 推荐(0) 编辑
摘要: Understanding JavaScript Constructors It was: 1) This article is technically sound. JavaScript doesn't really have classes in a traditional sense and 阅读全文
posted @ 2016-04-22 14:34 RachelChen 阅读(262) 评论(0) 推荐(0) 编辑
摘要: Returns a reference to the Object function that created the instance's prototype. 注意这个属性的值是函数本省的引用,而不是一个包含函数名的字符串。这个值只有对primitive values(例如1,true和"tes 阅读全文
posted @ 2016-04-22 13:22 RachelChen 阅读(299) 评论(0) 推荐(0) 编辑
摘要: The instanceof operator tests whether an object has in its prototype chain the prototypeproperty of a constructor. Syntax Parameters Description The i 阅读全文
posted @ 2016-04-22 12:59 RachelChen 阅读(273) 评论(0) 推荐(0) 编辑
摘要: typeof operator 返回了表示对象类型的字符串 下表列出了typeof可能的返回值。 举例: // Numbers typeof 37 'number'; typeof 3.14 'number'; typeof Math.LN2 'number'; typeof Infinity 'n 阅读全文
posted @ 2016-04-21 13:50 RachelChen 阅读(1203) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8