From 4270f796b8b488200a665f0d2a4da10e65f2453f Mon Sep 17 00:00:00 2001 From: qorg11 Date: Sat, 26 Jun 2021 17:37:28 +0200 Subject: [PATCH] null is object --- harmful/software/javascript/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/harmful/software/javascript/index.md b/harmful/software/javascript/index.md index 7e37356..e7e0dcd 100644 --- a/harmful/software/javascript/index.md +++ b/harmful/software/javascript/index.md @@ -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