Books

JavaScript : the good parts

Author / Creator
Crockford, Douglas
Available as
Online
Physical
Summary

Most programming languages contain good and bad parts, but JavaScript has more than its share of the bad, having been developed and released in a hurry before it could be refined. This authoritativ...

Most programming languages contain good and bad parts, but JavaScript has more than its share of the bad, having been developed and released in a hurry before it could be refined. This authoritative book scrapes away these bad features to reveal a subset of JavaScript that's more reliable, readable, and maintainable than the language as a whole-a subset you can use to create truly extensible and efficient code. Considered the JavaScript expert by many people in the development community, author Douglas Crockford identifies the abundance of good ideas that make JavaScr

Checking for availability...

Creator
Douglas Crockford
Format
Books
Language
English
Publication
  • First edition
  • Sebastopol, California : O'Reilly Media, 2008
Physical Details
  • 1 online resource (213 p.)
  • text file
ISBNs
059615383X, 9780596153830, 9780596517748, 9780596554873, 0596517742, 0596554877
OCLC
ocn767497960, ocn192027457, ocn609841099

  • Includes index.
  • English

  • JavaScript: The Good Parts; Using Code Examples; SafariĀ® Books Online; How to Contact Us; Acknowledgments; 1. Good Parts; Analyzing JavaScript; A Simple Testing Ground; 2. Grammar; Names; Numbers; Strings; Statements; Expressions; Literals; Functions; 3. Objects; Retrieval; Update; Reference; Prototype; Reflection; Enumeration; Delete; Global Abatement; 4. Functions; Function Literal; Invocation; The Function Invocation Pattern; The Constructor Invocation Pattern; The Apply Invocation Pattern; Arguments; Return; Exceptions; Augmenting Types; Recursion; Scope; Closure; Callbacks; Module
  • CascadeCurry; Memoization; 5. Inheritance; Object Specifiers; Prototypal; Functional; Parts; 6. Arrays; Length; Delete; Enumeration; Confusion; Methods; Dimensions; 7. Regular Expressions; Construction; Elements; Regexp Sequence; Regexp Factor; Regexp Escape; Regexp Group; Regexp Class; Regexp Class Escape; Regexp Quantifier; 8. Methods; 9. Style; 10. Beautiful Features; A. Awful Parts; Scope; Semicolon Insertion; Reserved Words; Unicode; typeof; parseInt; +; Floating Point; NaN; Phony Arrays; Falsy Values; hasOwnProperty; Object; B. Bad Parts; with Statement; eval; continue Statement
  • switch Fall ThroughBlock-less Statements; ++ --; Bitwise Operators; The function Statement Versus the function Expression; Typed Wrappers; new; void; C. JSLint; Members; Options; Semicolon; Line Breaking; Comma; Required Blocks; Forbidden Blocks; Expression Statements; for in Statement; switch Statement; var Statement; with Statement; =; == and !=; Labels; Unreachable Code; Confusing Pluses and Minuses; ++ and --; Bitwise Operators; eval Is Evil; void; Regular Expressions; Constructors and new; Not Looked For; HTML; JSON; Report; D. Syntax Diagrams; E. JSON; Using JSON Securely; A JSON Parser
  • Colophon
Check for Hathi data