Images

Manipulating JavaScript Objects

image

         To view the accompanying video for this lesson, please visit mhprofessional.com/nixonjavascript/.

JavaScript is an interesting language in that everything in it is an object. Arrays are objects, functions are objects, variables are objects, and so on, although they are objects of different types, or should I say class.

You see, by being structured this way, JavaScript is extremely easy to enhance by adding new classes (or types) of objects and then creating objects using these classes with the new keyword, ...

Get JavaScript: 20 Lessons to Successful Web Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.