http://learn javascript website code example
Example 1: best way to learn js
//You can use Udemy for learning but you have to do research
//to make sure you are buying the best one. ONLY buy IF there is a
//discount of most courses being 12.00$
https://www.udemy.com/
//If you really want to get a job with it or practive more use w3school
https://www.w3schools.com/
Example 2: learn javascript
Dudes u got codecademy, ya know and sololearn and a game engine or jscript is phaser and for practicing use repl