Skip to content
jfraboni edited this page Sep 14, 2014 · 3 revisions

Datatypes

Arguably, everything is data, that's right, all objects can be considered data. JavaScript comes with some built-in datatypes, that is, objects of a particular type that represent basic and fundemental objects used in programming. The built-in datatypes are:

And... we'll argue that a function is also a datatype, but dynamic in nature in that a function can be defined to return a particualar type of value:

They can also hold custom objects that YOU create!

© John Fraboni 2014

Clone this wiki locally