Why sololearn apk application doesn't support ES6 of JavaScript | SoloLearn: Learn to code for FREE!

+15

Why sololearn apk application doesn't support ES6 of JavaScript

I had errors when I wrote ES6 in some of my codes and why can't use jquery in code

7/11/2018 9:36:11 AM

Abdulkareem Fallaha

11 Answers

New Answer

+22

14 Tutorials to Learn ES6 JavaScript https://www.sololearn.com/post/15991/?ref=app

+18

Why I am in love with ES6 https://codeburst.io/why-i-am-in-love-with-es6-13f8aa64005d

+17

😀 Thanks a lot for marking my answer! 😊👍😉🍻

+7

Dont depends on SoloLearn app but on your devices. See here for use babel code "working" on SL https://www.sololearn.com/discuss/1220172/?ref=app

+6

Before I knew about Babel I had to write two versions of my codes + label accordingly. After a few times doing that I felt like the ROI was personally backwards and I stopped trying to use ES6, which is--in my opinion--the risk to not making tools like Babel more obvious. JQuery is similar, in that it smooths out differences between implementations so that you can just get to work coding instead of fighting the architecture. If you find implementation details interesting like I do then "just use a compatibility library" may annoy you, but transpiling/abstraction just to get something done (and in babel's case while learning new syntax) is still a good observation. To make this bridge a little better, web side-by-side automatic converters exist for "babel" and "lebab": https://babeljs.io/repl/ (ES6->ES5) https://lebab.io/try-it (ES5->ES6) Another library in similar vein, because css prefixes turned out to be support trouble: https://cdnjs.com/libraries/prefixfree See also: polyfills

+5

What is ecmascript: https://en.m.wikipedia.org/wiki/ECMAScript Current js version: es9 https://www.infoworld.com/article/3246058/javascript/whats-new-in-ecmascript-2018.html

+5

I try it on new phone it worked I think it is also android version

+4

to be able to use es6, update your phone os and or web browser, that is if you can.

+4

Compile it with babel, make your es6 codes work on all platforms.

+4

Also: If you're having a jQuery problem, could you create a jquery code and ask about the error you're seeing specifically (like, search Q&A and then ask a new one if nobody's seen the issue before)?

+3

i dont speak jquery but i know that to use jquery you have to import the jquery file put this in your html head <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>