Error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Error

How are you guys running these es6 codes?? My chrome browser fails and similarly solo learn code playground catches an error.

25th Jun 2019, 11:14 AM
Zacky Aduoli
Zacky Aduoli - avatar
8 Answers
+ 3
Airree no, for code playground it depend on the webview in user device. last time i soft reset my phone it also happen to me. updating the webview solve that issue for me https://play.google.com/store/apps/details?id=com.google.android.webview Zacky Aduoli can you explain what failed ? did you get any error ?
25th Jun 2019, 11:31 AM
Taste
Taste - avatar
+ 1
Can you show us the code? The code playground definitely can run ES6, so there's probably a problem with your code Also, don't post the same question twice ;)
25th Jun 2019, 11:25 AM
Airree
Airree - avatar
0
Sorry I didn't know I posted twice This is the simple code am trying to run! let list = ["x", "y", "z"]; for (let val of list) { console.log(val); }
25th Jun 2019, 11:32 AM
Zacky Aduoli
Zacky Aduoli - avatar
0
Can you actually link the code? I don't see why it wouldn't run
25th Jun 2019, 11:34 AM
Airree
Airree - avatar
25th Jun 2019, 11:42 AM
Zacky Aduoli
Zacky Aduoli - avatar
0
it work for me, check your software maybe its outdated
25th Jun 2019, 11:43 AM
Taste
Taste - avatar
0
Taste ohh!! Thanks But also tell me of a browser that can run es6
25th Jun 2019, 11:49 AM
Zacky Aduoli
Zacky Aduoli - avatar
0
most of major browser except edge, support es6 as long as its updated. there are some feature that available in certain browser but not the other you can check mdn for that, just search the feature in mdn scroll down and click on browser compatibility. this one listed all javacript feature and its browser compatibility https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Browser_support_for_JavaScript_APIs
25th Jun 2019, 11:55 AM
Taste
Taste - avatar