- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
JavaScript Lied to You About const 🤯 #codetips #javascript #webdevelopment
Most JavaScript developers believe one thing: const means a value cannot change.
But that belief breaks when you see this:
const user = { name: "Dev" }
user.name = "Devesh"
And JavaScript doesn’t complain.
So what’s really happening?
In this video, I explain:
Why const objects can still change
What const actually locks (hint: it’s the reference, not the value)
The difference between reference vs value
How objects live in memory
Why misunderstanding this causes silent bugs
Key Takeaways
const does NOT make objects immutable — it only locks the reference, not the content.
Think of it like a box:
You can’t replace the box
But you can rearrange or change what’s inside
This subtle JavaScript concept confuses beginners, traps intermediate devs, and even pops up in interviews.
If you’ve ever thought:
“Bhai… const toh change nahi hona chahiye tha?”
This video will clear that confusion once and for all.
Perfect for:
JavaScript beginners, frontend developers, interview prep, and anyone learning JS fundamentals.
#javascript #development #coding #shorts
Видео JavaScript Lied to You About const 🤯 #codetips #javascript #webdevelopment канала 12AM Guy
But that belief breaks when you see this:
const user = { name: "Dev" }
user.name = "Devesh"
And JavaScript doesn’t complain.
So what’s really happening?
In this video, I explain:
Why const objects can still change
What const actually locks (hint: it’s the reference, not the value)
The difference between reference vs value
How objects live in memory
Why misunderstanding this causes silent bugs
Key Takeaways
const does NOT make objects immutable — it only locks the reference, not the content.
Think of it like a box:
You can’t replace the box
But you can rearrange or change what’s inside
This subtle JavaScript concept confuses beginners, traps intermediate devs, and even pops up in interviews.
If you’ve ever thought:
“Bhai… const toh change nahi hona chahiye tha?”
This video will clear that confusion once and for all.
Perfect for:
JavaScript beginners, frontend developers, interview prep, and anyone learning JS fundamentals.
#javascript #development #coding #shorts
Видео JavaScript Lied to You About const 🤯 #codetips #javascript #webdevelopment канала 12AM Guy
javascript js const javascript const const object javascript objects js fundamentals javascript explained javascript interview frontend development web development coding programming learn javascript javascript shorts developer mistakes javascript bugs software engineering tech explain ed coding concepts
Комментарии отсутствуют
Информация о видео
8 января 2026 г. 18:01:00
00:00:44
Другие видео канала




















