Brian Brian - 4 years ago 111
Node.js Question

Since when does Node.js offer ES6 classes?

EcmaScript 6 has been published in 2015. In which version were ES6 classes introduced in Node.js? I couldn't find the related github commit.

I'd like to know which was the first Node.js version allowing to use the

class
keyword as syntactical sugar for prototypes.

Answer Source

Node v4.3.2

Was the first version to accept Class method according to http://node.green/

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download