Why do JSON, Date, and Math exist?

Corey Richardson corey at octayn.net
Fri Feb 17 12:59:10 PST 2012


They seem rather out-of-place in a language that includes no standard library.
I would include RegExp in that list but there is literal syntax for that in
the language.

Are the reasons purely historical/for convenience of standardization in
JavaScript? They seem like something the host environment should provide, 
not a native object.



More information about the es-discuss mailing list