+ 1
Why wonât parts of ES6 work in SoloLearnâs playground?
https://code.sololearn.com/WsC4XdNWw2LT/?ref=app So far destructuring objects and rest doesnât work in the playground. I pasted the exact code here with destructuring an object in my browser and it worked fine. Is Solo Learn planning to fix this?
2 Answers
+ 6
It's your webview (or, more specifically the JS engine Chromium's running on your mobile)
You can check your webview version here (includes a lot of feature tests):
https://code.sololearn.com/WeBKGPjY0UHK/?ref=app
And also check what webview versions support here (useful for other people's mobiles, or checking for bugs):
https://www.caniuse.com
+ 3
Beside what Kirk Schafer said, see here for a way to run ES6 code on device that dont support it
https://www.sololearn.com/discuss/1220172/?ref=app