JavaScript Basics for React Js.

Table of contents

Variables in JavaScript.

Example explaination : In the Above Example,

  • Glass stores water in it , similarly

  • Variables stores value in it.

    Definition : variables are simply names ,that stores values and the points out to a memory location .

As for now , let us leave what is 'let' and stack Memory ,when you set a=1 , the value get stored in a memory location.