Writing this down because I keep on forgetting. Right now, there are two ways to right code in your medium blog.
Installing npm modules globally (-g) in your terminal using
USER$ npm install moduleName -g
is easy breezy. People instruct you to do this and that. But have you ever wondered where they’re really stored?
Have you ever encountered this line of code in Javascript and wonder what this means?
! function () {
//Some code
}();
Template literal is the new thing.
It is identified with ` `.
let notes = `I am a template literal`;
Now, you can easily do a string concatenation in Javascript with the use of template…
Before, all variables in Javascript use only one keyword to declare a variable and that is var. With the release of ES2015 (ES6), variables can be declared in two new ways, let and const. Now, it’s easier to distinguish the variable’s scope and…