The Oldest JavaScript Bug

preview_player
Показать описание
Have you ever wondered why typeof null returns "object"? This is one of JavaScript's oldest bugs!

Prepping for your frontend interviews? Use code "conner" for a discount on my course FrontendExpert:

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

So man decided to make the most informative short on the platform and disappear
We want more

Tai
Автор

I've been learning javascript for a month, and I learned this fact when I got to an assignment on writing a deep equals function

MultiDringus
Автор

Objects in variables are pointers to address. Null is a pointer to null address (0x000…). It makes sense that the type of both are then the same.

travelan
Автор

Can you please make a video about your desk setup

unknownman
Автор

Bro u got mad tech skills pour me some !!!! Lol

craiggazimbi
Автор

Nice video! I like short videos, best case up to 10 mins, but just my opinion :) Keep it up

dobrinivanov