A JavaScript primer
As we already know, Node.js is not just another language, but JavaScript. The language syntax and tools you used while coding JavaScript on the browser will work verbatim on the server. Node.js has additional tools that are only available on the server, but the language and syntax are again the same as JavaScript. I'm assuming you have a general understanding of the basic JavaScript syntax, but I will introduce JavaScript to you with a very brief primer on the language, just in case.
In general, JavaScript is a fairly simple language when it comes to syntax, and you only need to know a few important elements.
Introducing es6
The es6, or ECMAScript, 2015 is a JavaScript language update for all types, values, object literals, properties, functions, and program syntaxes. The whole new semantics of es6 (which is similar to other languages like Java, C#, and so on) invites cross-platform developers to learn JavaScript with ease. Not only it improve the languages in syntactical...