Open your console and type:
typeof null
You'll get:
'object'
That's wrong—null is not an object!
🔍 How did this happen?
When JavaScript was first implemented, values were stored in a tagged format, where the lower bits determined the type:
-
Objects
had a type tag of 0. -
null
was stored as 0
in memory. Since
null
had 0
in its type tag, typeof
mistakenly classified it as an "object". 🔧 Why isn't it fixed?
One word: Backward compatibility.
Fixing it would break too many apps, so it's here to stay!
💬 Share this with JavaScript haters
new
#JavaScript #Bug #Programming
👨💻1
Chapi Dev Talks
GPT is 5 https://openai.com/gpt-5/
I was just watching fireship's review on YouTube about the new gpt 5 and
It's just another model with different name with a new hype
>>>>Vid <<<<<
It seems mid tbh based on the video explanation
It's just another model with different name with a new hype
>>>>Vid <<<<<
YouTube
GPT-5 is here... Can it win back programmers?
Build cross-platform apps in your browser for free - https://dreamflow.app
Sama and the boys say that GPT-5 has "PhD-level" intelligence, but the benchmarks aren't adding up. So is this a major step towards AGI or just another incremental upgrade? Let's…
Sama and the boys say that GPT-5 has "PhD-level" intelligence, but the benchmarks aren't adding up. So is this a major step towards AGI or just another incremental upgrade? Let's…
👌2