Advanced javascript

This book is not about JavaScript design patterns or implementing an object-oriented paradigm with JavaScript code. It was not written to distinguish the good features of the JavaScript language from the bad. It is not meant to be a complete reference guide. It is not targeted at people new to programming or those completely new to JavaScript. Nor is this a cookbook of JavaScript recipes. Those books have been written.

Table of contents

  • Introduction 
  • Why JavaScript
  • More code, less words 
  • Color-coding Conventions 
  • JavaScript Objects 
  • Creating objects 
  • JavaScript constructors construct and return object instances 
  • The JavaScript native/built-in object constructors 
  • Instantiating constructors using the new operator 
  • The primitive values null, undefined, 'string', , true, and false are not objects 
  • How primitive values are stored/copied in JavaScript 
  • Primitive values are equal by value 
  • The string, number, and boolean primitive values act like objects when used like objects 
  • Complex (aka composite) values 
  • How complex values are stored/copied in JavaScript 
  • Complex objects are equal by reference 
  • Complex objects have dynamic properties 
  • The typeof operator used on primitive and complex values 
  • Dynamic Properties allow for mutable objects 
  • All constructor instances have constructor properties that point to their constructor function 
  • Verify that an object is an instance of a particular constructor function 
  • An instance created from a constructor can have its own independent properties (aka instance properties) 
  • The semantics between 'JavaScript objects' vs 'Object() objects' 
  • Chapter - Working with Objects and Properties 
  • Complex objects can contain most of the JavaScript values as properties 
  • Encapsulating complex objects in a programmatically beneficial way 
  • Getting/setting/updating an object's properties using dot notation or bracket notation 
  • Deleting object properties 
  • How references to object properties are resolved 
  • Using has Own Property, verify that an object property is not from the prototype chain 
  • Checking if an object contains a given property using the in operator 
  • Enumerate (loop over) an object’s properties using the for in loop 
  • Host objects vs native objects 
  • Chapter - Object() 
  • Conceptual overview of using Object() objects 
  • Chapter - Function() 
  • Conceptual overview of using Function() objects 
  • Function() parameters 
  • Function() properties and methods 
  • Function object instance properties and methods 
  • Functions always return a value 
  • Functions are first-class citizens (not just syntax, but values) 
  • Passing parameters to a function 
  • The argument scallee property 
  • Redefining function parameters 
  • Anonymous functions 
  • Self-invoking function expression 
  • Self-invoking anonymous function statements 
  • Functions can be nested 
  • Invoking function statements before they are defined (aka function hoisting) 
  • A function can call itself (aka recursion) 
  • Conceptual overview of the prototype chain 
  • Why care about the prototype property? 
  • Prototype is standard on all Function() instances 
  • The default prototype property is an Object() object 
  • Last stop in the prototype chain is Object prototype 
  • The prototype chain returns the first property match it finds in the chain 
Size1,568.05 Kb
File typepdf
Downloads6187
Created2017-09-09
Cover of Advanced javascript
Preview PDF

Download

  • Angular 2 ebook for professionals

    Download free Angular 2 tutorial course in PDF, training file in 69 chapters and 232 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

  • Get started with HTML5

    This tutorial aim to provide a gentle introduction to these amazing new web technologies, and to show you some cool ways of incorporating them into your websites....

  • PHP Tutorial From beginner to master

    In this PHP tutorial you will learn everything about PHP, and how to execute scripts on your server, free pdf course under 28 pages....

  • XHTML, step by step

    Download a complet PDF tutorial about XHTML, free training document under 27 pages intended to the beginners....

  • Learning React Native

    Download free course Learning React Native, pdf file on 101 pages by Stack Overflow Community....

  • A Practical Guide to Designing for the Web

    A Practical Guide to Designing for the Web aims to teach you techniques for designing your website using the principles of graphic design. Featuring five sections, each covering a core aspect of graphic design: Getting Started, Research, Typography, Colour, and Layout. Learn solid graphic design...

  • Getting started with Laravel

    Download free Laravel tutorial course in PDF, training file in 65 chapters and 216 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

  • The JavaScript Beginner's Handbook

    The JavaScript Beginner's Handbook follows the 80/20 rule: learn in 20% of the time the 80..., download free JavaScript tutorial in PDF (70 pages) created by ....

  • Learning advanced-custom-fields PDF course

    Download free Advanced custom fields tutorial course in PDF, training file in 5 chapters and 14 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

  • jQuery Fundamentals

    With this unique, project-oriented book, author Rebecca Murphey teaches even the most novice of JavaScript users how to quickly get started utilizing the JavaScript jQuery Library to decrease the amount of code that needs to be written and tested. A four-color code syntax highlighting system provi...