Everything you need to know about JavaScript!!

When I started learning JS, I used many sources.

And of course I have written few articles on JS functions and methods. So I thought of clubbing the simple tricks and basics for JS in single place.

Lets start with the variables.

var, const, let

var: The most common variable. Can be reassigned but only accessed within a function. Variables defined with var move to the top when code is executed.