React ES6 Variables

Variables

Before ES6 there was only one way of defining your variables: with the
var
keyword. If you did not define them, they would be assigned to the global object. Unless you were in strict mode, then you would get an error if your variables were undefined.

Now, with ES6, there are three ways of defining your variables: var, let, and const. Continue reading React ES6 Variables