Professional JavaScript for web developers

This book provides a developer-level introduction along with more advanced and useful features of JavaScript. Coverage includes: JavaScript use with HTML to create dynamic webpages, language concepts including syntax and flow control statementsvariable handling given their loosely typed naturebuilt-...

Full description

Bibliographic Details
Other Authors: Zakas, Nicholas C., author (author)
Format: eBook
Language:Inglés
Published: [Somerset, New Jersey] : [Wrox] [2011]
Edition:3rd ed
Series:Wrox : Programmer to Programmer
Subjects:
See on Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627973306719
Table of Contents:
  • Professional: JavaScript® for Web Developers; Contents; Foreword; Introduction; Chapter 1: What Is Javascript?; A Short History; JavaScript Implementations; ECMAScript; The Document Object Model (DOM); The Browser Object Model (BOM); JavaScript Versions; Summary; Chapter 2: Javascript In HTML; The Element; Tag Placement; Deferred Scripts; Asynchronous Scripts; Changes in XHTML; Deprecated Syntax; Inline Code versus External Files; Document Modes; The Element; Summary; Chapter 3: Language Basics; Syntax; Case-sensitivity; Identifiers; Comments; Strict Mode; Statements
  • Keywords and Reserved WordsVariables; Data Types; The typeof Operator; The Undefined Type; The Null Type; The Boolean Type; The Number Type; The String Type; The Object Type; Operators; Unary Operators; Bitwise Operators; Boolean Operators; Multiplicative Operators; Additive Operators; Relational Operators; Equality Operators; Conditional Operator; Assignment Operators; Comma Operator; Statements; The if Statement; The do-while Statement; The while Statement; The for Statement; The for-in Statement; Labeled Statements; The break and continue Statements; The with Statement
  • The switch StatementFunctions; Understanding Arguments; No Overloading; Summary; Chapter 4: Variables, Scope, and Memory; Primitive and Reference Values; Dynamic Properties; Copying Values; Argument Passing; Determining Type; Execution Context and Scope; Scope Chain Augmentation; No Block-Level Scopes; Garbage Collection; Mark-and-Sweep; Reference Counting; Performance; Managing Memory; Summary; Chapter 5: Reference Types; The Object Type; The Array Type; Detecting Arrays; Conversion Methods; Stack Methods; Queue Methods; Reordering Methods; Manipulation Methods; Location Methods
  • Iterative MethodsReduction Methods; The Date Type; Inherited Methods; Date-Formatting Methods; Date/Time Component Methods; The RegExp Type; RegExp Instance Properties; RegExp Instance Methods; RegExp Constructor Properties; Pattern Limitations; The Function Type; No Overloading (Revisited); Function Declarations versus Function Expressions; Functions as Values; Function Internals; Function Properties and Methods; Primitive Wrapper Types; The Boolean Type; The Number Type; The String Type; Singleton Built-in Objects; The Global Object; The Math Object; Summary
  • Chapter 6: Object-Oriented ProgrammingUnderstanding Objects; Types of Properties; Defining Multiple Properties; Reading Property Attributes; Object Creation; The Factory Pattern; The Constructor Pattern; The Prototype Pattern; Combination Constructor/Prototype Pattern; Dynamic Prototype Pattern; Parasitic Constructor Pattern; Durable Constructor Pattern; Inheritance; Prototype Chaining; Constructor Stealing; Combination Inheritance; Prototypal Inheritance; Parasitic Inheritance; Parasitic Combination Inheritance; Summary; Chapter 7: Function Expressions; Recursion; Closures
  • Closures and Variables