3 ms·
>stricter-mode let means what const meant before. stricter-mode var means what let meant before. The const declaration creates block-scoped constants, much lik
by new_user_final 4y ago
>stricter-mode let means what const meant before. stricter-mode var means what let meant before.
The const declaration creates block-scoped constants, much like variables declared using the let keyword. The value of a constant can't be changed through reassignment (i.e. by using the assignment operator), and it can't be redeclared (i.e. through a variable declaration). However, if a constant is an object or array its properties or items can be updated or removed
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
How can this be complicated?