Primitive types

Primitive types are the simple building blocks of all data in JavaScript. The main primitive types are Boolean, Number and String. They are discussed first. Neither objects nor arrays, which are both important types in their own right, are primitive types.

© 1997 by Wrox Press. All rights reserved.