0

ES6 || JQuerry?

What to choose after JavaScript? Thanks for all answers!

3rd May 2018, 6:55 PM
Grzegorz Ryn
Grzegorz Ryn - avatar
1 Odpowiedź
+ 5
Answers to your earlier question (javascript or ES6) indicated starting with Javascript, and it's appropriate to wonder now if you should move forward (into ES6) or laterally (into jQuery). To help you decide: ES6 adds new syntax to Javascript. This gives you some perspective on how Javascript itself is designed. jQuery smooths over implementation differences between browser javascript engines and makes working with the document object model easier. This gives you perspective on how HTML documents are laid out, how the event system works, and should make using javascript easier, while practicing with javascript you already know. Compatibility notes: * If you choose ES6, first try to run any CodePlayground code marked ES6. If it doesn't work and it's due to syntax, like: "() =>" "..." or backticks (``), update your mobile, and if it still doesn't work you will have to continue CodePlayground in a browser (this is an Android app limitation, not SoloLearn). * jQuery is not intended to fix missing syntax between ES5 to ES6 -- it cannot add an arrow () => function for you because the language doesn't have it; what it WOULD do (if there were differences in how browsers handled arrow functions) is make them all work the same way. If you understand basic Javascript, you can take either path without really affecting the other.
3rd May 2018, 7:44 PM
Kirk Schafer
Kirk Schafer - avatar