tailieunhanh - JavaScript An Enlightenment
If you’re an advanced beginner or intermediate JavaScript developer, JavaScript Enlightenment will solidify your understanding of the language—especially if you use a JavaScript library. In this concise book, JavaScript expert Cody Lindley (jQuery Cookbook) provides an accurate view of the language by examining its objects and supporting nuances. Libraries and frameworks help you build web applications quickly and efficiently, but when things go wrong or performance becomes an issue, knowing how and why they work is critical. If you’re ready to go under the hood and get your hands dirty with JavaScript internals, this is your book | JavaScript Enlightenment Cody Lindley First Edition based on JavaScript ECMA-262 Edition 3 Table of Contents About the About the Technical Michael Kyle Nathan Ben Ryan Nathan Why did I write this book .11 Who should read this book .12 Why JavaScript ECMA-262 Edition 3 .12 Why didn t I cover the Date Error RegEx objects .12 More code less words .13 Exhaustive code and repetition .13 Color-coding jsFiddle JS Bin and Firebug Chapter 1 - JavaScript Creating JavaScript constructors construct and return object The JavaScript native built-in object User-defined non-native object constructor 2 Instantiating constructors using the new Creating shorthand literal values from Primitive aka simple The primitive values null undefined string 10 true and false are not How primitive values are stored copied in Primitive values are equal by The string number and boolean primitive values act like objects when used like Complex aka composite How complex values are stored copied in Complex objects are equal by Complex objects have dynamic The typeof operator used on primitive and complex Dynamic Properties allow for mutable All constructor instances have constructor properties that point to their constructor Verify that an object is an instance of a particular constructor An instance created from a constructor can have its own independent properties aka instance properties .40 The semantics between JavaScript objects vs. Object objects .42 Chapter 2 - Working with Objects and Complex objects can contain most of the JavaScript values as Encapsulating complex objects in a .
đang nạp các trang xem trước