2 ms·
JavaScript was OO form day one. There aren't even much languages that are so consequent OO like JavaScript. Everything is an object even functions. JavaScript
by still_grokking 6y ago
JavaScript was OO form day one. There aren't even much languages that are so consequent OO like JavaScript. Everything is an object even functions.
JavaScript is actually quite similar to Self (besides the syntax), which itself is a kind of a SmallTalk like language. It's hard to be more OO than that. :-)