Skip to content
jfraboni edited this page Oct 24, 2014 · 2 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!

© 2014-2015 Operation Spark