ES6 – Installing Node JS
Locate the directory root to run the project and then Install NPM: Initialize a project: Node doesn’t have native support […]
Locate the directory root to run the project and then Install NPM: Initialize a project: Node doesn’t have native support […]
Another way is Also it could include a function Even shorter… Source: https://www.udacity.com/course/es6-javascript-improved–ud356
The output is “Richard” Use cases The big question is when should you use let and const? The general rule of thumb is […]
Passing an object as 2 parameters: The two most used data structures in JavaScript are Object and Array. Objects allow us to create […]
First example (old way): and it could be optimized to (2 arguments) 1 argument: 0 arguments: if it has a […]
This operator spread the content of 1 object into another. Example: Using 3 points before arrays to list the elements […]
Use backticks to preserve the string structure. inluding spaces. Also knows as “template literals“ Output: Practical application: Output: (usable html […]
Var is global… let is temporary A weird return: Output: Undefined, because of the Hoisting JavaScript Initializations are Not Hoisted […]
To run ES6 we need to transpiling. That includes: To automatize this process we use WebPack Install, and initialize NPM […]