Const

The const keyword creates a constant. You'll be glad to know that since you've gone through the pain of understanding what the let keyword does, understanding what the const keyword does will be dead simple. Ready? Here it is … const and let are identical in the way in which their scoping works. The only difference between let and const is that you cannot redeclare a constant, and its value can't be changed. That's it. Let's move on to discussing some data types.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.59.92.234