Changes

Jump to: navigation, search

JavaScript Object Basics

158 bytes added, 19:48, 25 April 2007
no edit summary
Custom objects are objects that you, as a JavaScript developer, create and use. Creating a custom object is possibly the best way to fully understand what objects are, so in this chapter we will by looking at how to create custom objects before covering the Built-in and DOM Objects in later chapters.
 
== Creating a Custom JavaScript Object ==
 
Creating a custom JavaScript object is quite similar to constructing a function. The syntax is as follows:
 
<pre>

Navigation menu