| My advice is, first make sure you are going to learn the latest version of javascript, which is "Ecmascript2016" alias ES7 alias ES2016.
ES2015 (alias ES6) is also fine. Previous versions of Javascript make JS a mediocre language, while ES2016 makes it a pretty good and powerful one. So try to look for a tutorial that is very recent and focused on the latest javascript idioms. I think that if you already know how to program in at least one of the following languages: C++/C#/Java/Python, you will learn Javascript in no time, no need for a book, to be honest. Javascript is a very simple language, my recommendation would be to start as follows:
1. First learn how to create a JSON (javascript object notation) object
2. Then understand how to define a function (better if you do it the ES6 way, that is, using the "=>" operator), and how to call it.
3. Learn how to use lists and hashtables(dictionaries).
4. After this, learn how to use JSON objects, that is, how to access each member of a JSON object. This will be trivial after step (3).
5. Then, learn the simple logic constructs: if, for, etc. They are easy, really. Now comes the slightly more difficult part. I'm assuming you want to try Node.js development. 6. Learn what is the Node.js "event loop". IN other words, the philosophy behind Node and why most operations are "asynchronous" in Node.js. Learn about callbacks.
7. Now learn about "Promises" and learn how to use "async" and "await" to consume Promises easily. In other words, to program using asynchronous functions with no sweat.
8. Learn "express.js" web framework. It is really easy. And don't forget to take a look to the ES6 and ES7 features and make sure you take advantage of them: ES6
http://es6-features.org ES7
https://h3manth.com/new/blog/2015/es7-features/ |