null is object

This commit is contained in:
qorg11 2021-06-26 17:37:28 +02:00
parent b89a83e7ac
commit 4270f796b8
No known key found for this signature in database
GPG Key ID: 343FC20A4ACA62B9
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ to run javascript outside the browser was a good idea and now we're
doomed.
JavaScript is not only stupid (javascript returns true when) ```true +
true === 2``` Which means that true is literally ```#define true 1```
true === 2``` Which means that true is literally ```#define true
1```. `null` is `object` for some reason...
At the end that doesn't matters. Because it's a useless fact to be
honest. It only shows how bad designed the shit is. But the pain starts