Can I use ES6 everywhere? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Can I use ES6 everywhere?

Is it included in JS interpreter or do I have to import it when I code ES6?

13th Jan 2018, 3:08 AM
Complex
Complex - avatar
16 Answers
0
Npm install gulp --save-dev, also use es6 plugin (find it and its usage in internet)
13th Jan 2018, 5:36 AM
Animesh
Animesh - avatar
14th Jan 2018, 11:26 AM
The Coding Sloth
The Coding Sloth - avatar
+ 3
Es6 doesn't need anything other than a browser which supports it. It's not like a library, it's a newer version of JS.
13th Jan 2018, 8:39 AM
The Coding Sloth
The Coding Sloth - avatar
+ 2
Theyre not compiled through many new browsers only browsers which are on desktops are able to compile them
14th Jan 2018, 10:47 AM
Animesh
Animesh - avatar
+ 2
@The Coding Sloth Thank you too :D
14th Jan 2018, 11:41 AM
Complex
Complex - avatar
+ 1
@The Coding Sloth Thank you! :D
13th Jan 2018, 8:47 AM
Complex
Complex - avatar
+ 1
https://youtu.be/ax0ykSVPufs this is full guide for es6 js compiling
14th Jan 2018, 10:46 AM
Animesh
Animesh - avatar
+ 1
It's better to compile using gulp
14th Jan 2018, 10:47 AM
Animesh
Animesh - avatar
+ 1
Ok ok
14th Jan 2018, 10:48 AM
Complex
Complex - avatar
0
It needs compiler before use.
13th Jan 2018, 4:47 AM
Animesh
Animesh - avatar
0
Nice thank you, do you have an install link?
13th Jan 2018, 5:24 AM
Complex
Complex - avatar
0
Do you have linux with nodejs? If yes then just install the gulp (compiler for sass css and es6 js) using npm(node package manager)
13th Jan 2018, 5:27 AM
Animesh
Animesh - avatar
0
npm install gulp ?
13th Jan 2018, 5:27 AM
Complex
Complex - avatar
0
Yes
13th Jan 2018, 5:36 AM
Animesh
Animesh - avatar
0
Thank you
13th Jan 2018, 5:37 AM
Complex
Complex - avatar
0
@Animesh Awesome I'l watch the video now
14th Jan 2018, 10:46 AM
Complex
Complex - avatar