Main Page

Summary

Summary
ECMAScript provides JavaScript implementations with complete object-oriented language capabilities.
In this chapter, you have learned about the three different types of objects defined in ECMA-262: native
objects, built-in objects, and host objects.
You explored the
Array
and
Date
objects, learning about their methods, properties, and various quirks.
You also learned about the two built-in objects,
Global
and
Math
, as well as gained understanding
about how the
Global
object is different from others.
This chapter also introduced the capability to define your own objects from the ground up. Several dif-
ferent methods of accomplishing this were explored and their pros and cons discussed.
Finally, you learned how to modify existing objects to include new methods as well as to override exist-
ing methods.
The next chapter finishes up the introduction to the JavaScript Core, ECMAScript, with a discussion of
inheritance.
102
Chapter 3
06_579088 ch03.qxd 3/28/05 11:36 AM Page 102


JavaScript EditorFree JavaScript Editor     Ajax Editor


©