2 ms·
Objects are the only complex data type in JavaScript (sans E4X). Arrays are objects (typeof (new Array()) === "object"), and prototypical inheritance is built o
by simonster 14y ago
Objects are the only complex data type in JavaScript (sans E4X). Arrays are objects (typeof (new Array()) === "object"), and prototypical inheritance is built on top of objects.