Do you need to write anything to change JS to ES6? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Do you need to write anything to change JS to ES6?

Is there any code I need to write(such as <!DOCTYPE HTML/>) to switch the language to ES6?

1st Jul 2019, 9:51 AM
Jacob Heath
Jacob Heath - avatar
2 Answers
+ 1
no, dont worry.
1st Jul 2019, 10:11 AM
Taste
Taste - avatar
- 1
No, For Unique ES6 Features, There Are Some Codes. You Just Need To Implement Them. But You Don't Have To Do Anything About JS to ES6. Let The Browser Deal With It. Btw Makes Sure Your Browser Is Not Backdated
12th Jul 2019, 2:45 AM
Wasim Mahmud Surjo
Wasim Mahmud Surjo - avatar