M
M
Maurice Mulyashov2017-05-07 20:40:37
Node.js
Maurice Mulyashov, 2017-05-07 20:40:37

Why does es6 work?

Explain to a stupid newbie, don't you need a transpiler to make es6 work?
Why does es6 work in console mode, although I didn’t install anything extra, and even the node is even version 7.5.0?460e4e251792426a986fca26f1249b1b.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alex, 2017-05-07
@addonmis

The transpiler is not needed for es6 to work. A transpiler is needed to convert code written in es6 to es5 code, because not all browsers understand es6. nodejs supports es6 almost 100% see here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question