What really happens is that the Greater-than-or-equal Operator (>=), performs type coercion (ToPrimitive), with a hint type of Number, actually all the relational operators have this behavior. null is treated in a special way by the Equals Operator (==). In a brief, it only coerces to undefined:
You know when you’re a kid and you do things that you know you’re not suppose to do, but you do them anyways? Yeah, that’s how I feel when I write any production code in JavaScript
You literally got through the list and I said aloud “ wait, doesn’t that make it a quantum language then?” And half a second later you basically confirmed it. 😂
this is to do with comparing values in a loosely typed language, not the "value" of null in javascript. javascript is attempting to convert null into a number when being forced into a numeric comparison (=) but == doesn't force null to be a number so they are not equivalent. the only issue here is that null is being cast to 0 in an unsafe way
Ahahah Are anybody still stupefied by this? The comparison and equality works slightly differently for null. null can be equal (==) only to null and undefined. And comparison checks (>, =,
When a girl says that she is hungry, Resturant >= yes Go out to resturant == no Homemade == no Homemade because lazy to go out == yes Thus, a girl is not a girl and is similar to null being 0 but not 0
Java thinks 0 is a number with a value even though there is no value But null = nothing over all So 0 > Null (it's bigger) it means null is smaller by JS
Hey, we do not know each other but I would like to tell u that despite all the bad that you have done in your life, GOD still loves you and wants you to be with him (GOD), all yoi must do is to trust in Jesus like how u would trust in parachute when jumping out of a plane and you must be willing to turn from your wrong doings and do what is right🎉🎉🎉😊😊😊
That was the most polite Interruption I've ever heard
And that’s why JavaScript is the most aesthetic quantum language
Grammer nazi here, it's spelled autistic
that’s a wild reference
JavaScript is a perfect language with absolutely nothing wrong with it
True true
There are no imperfections in JavaScript.
yep, nothing is wrong with JavaScript.
Agreed JavaScript is perfect
What's wrong with you?
What really happens is that the Greater-than-or-equal Operator (>=), performs type coercion (ToPrimitive), with a hint type of Number, actually all the relational operators have this behavior.
null is treated in a special way by the Equals Operator (==). In a brief, it only coerces to undefined:
No thank you was epic😂
These openings are cold af
Everytime I see one of your videos I burst out laughing for like 5 min I can’t lmao
"No thank you" 😂
All his coding videos are great. He's a natural teacher. The best I've come across.
We've been tortured by JS for about 30 years now. How much longer do we want to be tortured by this nonsense? Another 30 years?
No thank you was too smooth
I like how you can't even stop yourself from laughing.... Because its so true!
As a girl i can confirm javascript is great
I love that interruption 😂
I hate to admit it, but... that makes sense to me, intuitively.
I think this is more of a “it’s a human so it’s an animal (true), then if it’s an animal it must be human (false)” type of situation… or am I crazy?
You know when you’re a kid and you do things that you know you’re not suppose to do, but you do them anyways? Yeah, that’s how I feel when I write any production code in JavaScript
You literally got through the list and I said aloud “ wait, doesn’t that make it a quantum language then?” And half a second later you basically confirmed it. 😂
🙆😂😂 well i'll be damned 🤣 to both of these of course 😂 i didn't even see them both coming 😭😂
I would be disowned if I learned Java or JavaScript. This is probably already knowing too much.
Do not use null. It only comes from limited amount of places, and you can pretty much remove it from your daily life.
this is to do with comparing values in a loosely typed language, not the "value" of null in javascript. javascript is attempting to convert null into a number when being forced into a numeric comparison (=) but == doesn't force null to be a number so they are not equivalent. the only issue here is that null is being cast to 0 in an unsafe way
Looks like someone's inspired by ezsnippet
Of course
Yah
Thought he was boutta say “this makes Java a pain in the ass”
Ez snippet is everywhere 😂😂
This is why we dont compare different types in JS
Bro, you are amazing!! 😂
"Schrödinger's Null" if you will
some girls do love Javascript
It is what it is. Now give me the null. - Mafia Boss
Quantum superposition
Keep making.
Guud
Type of object determine by the operator? Damn....
I love this so much
Ha ha ha Javascript a quantum computing language 😂😂😂
🤣🤣🤣🤣🤣EPIC
Bro couldnt even keep a straight face with that lie :D
Schroedinger's null
I think for other languages it would just be an error lmao
This hurts my head
Great intro!
I love this! Seriously why do i need a girl when I have JavaScript!?❤
JavaScript* (or JS for short). Java is a completely different language
@@Qbe_Root Thanks for correcting me, I'm not a programmer but I'm thinking about studying programming
😂😂😂
its called greater than OR equal to for a reason
🤣🤣
What a chad
He’s like rainbolt but for coding
I'm locked in
Javascript
"1-1 =0"
Also javascript
"1 + 1 = 11"
C++ all the way
Ahahah
Are anybody still stupefied by this?
The comparison and equality works slightly differently for null.
null can be equal (==) only to null and undefined.
And comparison checks (>, =,
Probably has something to do with 0 being a primitive Integer type
NO THANK YOU i like him even better now
I laughed out loud
Tom Holland???
I saw this same trick by someone, who stole whoose? Lmao.
No thank you 😂😂😂
😮
js is more understandable than women
When a girl says that she is hungry,
Resturant >= yes
Go out to resturant == no
Homemade == no
Homemade because lazy to go out == yes
Thus, a girl is not a girl and is similar to null being 0 but not 0
☠️
hell yea
😂
EzSnippet
JavaScript is what we in the biz call a "f*ckshit" language. Perfect for frontend 😊
Null is zero in german
Java thinks 0 is a number with a value even though there is no value
But null = nothing over all
So 0 > Null (it's bigger) it means null is smaller by JS
Java?
So why wasn't 0 > null true then?
Try Null = ?
Are you like copying ezsnippet?
😅
!(undefined) == !(false)
true
undefined == false
false
NULL means there is no value
0 means the value itself is 0
Undertandable but arguable. Anyway if this is the case, then none of the booleans should be true.
@@florentboyer2736 yeah
Java is a whole different kind of shit
Not like I'm complaining though
9999999999999999999 == 10000000000000000000
schodingers script
Javascript is so stupid it became quantumly stupid
Schrödinger’s 0
[] == [] ... false. Oh boy.
This is because thats two different instances of arrays, which makes them different
If u do
const a = []
a == a
youll get true
Its -0
0 is not real
😂😂 you are copying ezsnipets content
copycat
Don't copy Rainbolt
Hey, we do not know each other but I would like to tell u that despite all the bad that you have done in your life, GOD still loves you and wants you to be with him (GOD), all yoi must do is to trust in Jesus like how u would trust in parachute when jumping out of a plane and you must be willing to turn from your wrong doings and do what is right🎉🎉🎉😊😊😊
I've never jumped out of a plane.
He is trying copying code snippets
@ezsnipit