+ 1
Error
How are you guys running these es6 codes?? My chrome browser fails and similarly solo learn code playground catches an error.
8 ответов
+ 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 ?
+ 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 ;)
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);
}
0
Can you actually link the code?
I don't see why it wouldn't run
0
https://code.sololearn.com/WMX9HOnw3pJ1/?ref=app
That's the link to my code
0
it work for me, check your software maybe its outdated
0
Taste ohh!! Thanks
But also tell me of a browser that can run es6
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