160 Views
The ES6 const keyword will give you what the keyword name implies – a read-only variable. Like let, a variable declared with const will have block scoping, and you cannot re-declare a const.
0 comments
Join in on a hand-picked round up of the best JavaScript articles every day.
Curated by our Moderators and Voted up by our Community. Free.
The ES6 const keyword will give you what the keyword name implies – a read-only variable. Like let, a variable declared with const will have block scoping, and you cannot re-declare a const.