Built-In Objects

As you will discover, JavaScript does a lot with a select few built-in objects. It is not as rich as the base class libraries found in the .NET Framework, for example. Instead, it is streamlined for working with client-side constructs. Of course, jQuery and the many other client-side frameworks have evolved to fill any feature gap that might have existed. These allow you to select framework code which is applicable to your scenario(s). Before we get into those frameworks, however, let’s take a look at the objects built into JavaScript by default.

The built-in objects in JavaScript can be classified into three categories:

Image Global ...

Get Microsoft Visual Studio 2015 Unleashed, Third Edition 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.