Manipulating JavaScript Objects
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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.