Table of Contents

Javascript - Primitive Data Type

About

Javascript has 6 primitive data type.

List

Wrapper

Except for null and undefined, all primitive values have object equivalents that wrap around the primitive values. See Data Type - Boxing (Autoboxing|Autowrapping) and Primitive Wrapper

The wrapper's valueOf() method returns the primitive value.

Documentation / Reference