Summary


Hopefully you now see now why arrays and strings are so useful. Both are considered objects by the JavaScript interpreter, but they are specialized in ways that other objects are not. Arrays are used to hold similar data in a meaningful way. Arrays are the only objects that use the bracket operator ([]) to reference elements. Strings can be represented as literals, as in "Hello World!!", or as objects, each of which have many properties and methods that can be used on them.




JavaScript Professional Projects
JavaScript Professional Projects
ISBN: 1592000134
EAN: 2147483647
Year: 2002
Pages: 130
Authors: Paul Hatcher

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