Hacker News new | ask | show | jobs
by Millennium 4107 days ago
Classes != OOP. JavaScript has had OOP, not quite since its inception, but quite close to it; it merely follows a different paradigm when doing so. In fact, ECMAScript 6's notion of classes is explicitly defined as being not much more than syntactic sugar over the existing paradigm.

As for functional programming, JavaScript has had that in some form for years. The addition of tail calls in ECMAScript 6 is an improvement for people who want to use this paradigm, but the language has had most of the old mainstays since at least ECMAScript 5, and some (like closures) date back further than that.