Difference between 3 types of variables in JavaScript.

Difference between 3 types of variables in JavaScript

There are 3 types of variable in javascript such as:

  1. var
  2. let
  3. const

in “var” you can declare var and assign its value more than one. But in “Let” you just declare the same variable more than one but not assign. Lastly, in ” const” not possible either declare nor assign same variable or it’s value more than one. If you do that you will see an error on browser console.

Leave A Comment

Request A Quote

Please enable JavaScript in your browser to complete this form.

Dev Naymul

Hi, please provide your request details below and I’ll get back to you.

When would you like your service delivered?
Click or drag files to this area to upload. You can upload up to 10 files.
Please try to avoid Compressed file

Coming Soon!