Is JavaScript const immutable

preview_player
Показать описание


When declaring variable bindings in JavaScript, we can use var, let and const keywords.
The let and const keywords were introduced in ECMAScript 2015, also known as ES6.
In this video, you will learn that const only guarantees that the variable bindings stay immutable.
The objects, and collections, however, may change, which means new data could be added or modified even when using the const keyword.

**********Watch all JavaScript Tutorials**********

***************************************************

Рекомендации по теме
Комментарии
Автор

Very nice explanation sir thanks easy to understand🙏

shubhamarora
Автор

Wow, didn't know that, thatks for sharing your knowledge!

uncristobalito
welcome to shbcf.ru