If you are planning to learn to react then you must know more recent JavaScript features that you will use over and over in React.
There is no need to be an expert in those topics right away, but as you more deep dive into react, the more you will need to master those.
variables are nothing but a container that stores the values.in javascript there no type specified for the variable. as you assigned the value to the variable it becomes that type of variable.
in Javascript, we can define a variable using var
, let
and const
.
var a = 0;
let b = 1;
const NUM = 10;
#reactjs #javascript #react