摘要: 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) 编辑