Summary


Built-in objects are those provided by the JavaScript language itself, such as Array , Boolean , Date , Math , Number , and String . Many of the built-in objects are related to the various data types supported in the language. Programmers will often access the methods and properties of the built-in objects related to the complex data types such as arrays or strings. The Math and Date objects are commonly used as well in JavaScript applications. However, much of the time the fact that the primitive types are objects ”as are everything else in JavaScript including functions ”goes unnoticed by JavaScript programmers. Understanding these underlying relationships can make you a better JavaScript programmer. However, if you feel you don t fully comprehend or care about the interconnectedness of it all and just want to use the provided methods and properties of the various built-in objects, you ll still find an arsenal of easy-to-use and powerful features at your disposal. The next chapter takes a look at one very useful aspect of JavaScript: regular expressions.




JavaScript 2.0
JavaScript: The Complete Reference, Second Edition
ISBN: 0072253576
EAN: 2147483647
Year: 2004
Pages: 209

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net