Arama Sonuçları: "#JavaScriptLogic"

20 sonuç
Bahriddin
Bahriddin@bahriddinbro·
@yacineMTB Yeah, especially when 0 == "0" is true, but 0 == [] is also true, and somehow [] == "0" is false. Truly magical. 😂 #JavaScriptLogic
English
0
0
1
65
Lutf Ali
Lutf Ali@lutfali15·
JavaScript: Where null is not nothing, undefined is not null, true is neither 1 nor 0, and NaN is equal to itself. #JavascriptLogic
English
0
0
0
7
Lutf Ali
Lutf Ali@lutfali15·
JavaScript: the language where "false" is true, "undefined" is defined, "undefined" is not undefined, and "true" is false. #JavaScriptLogic
English
0
0
0
2
Lutf Ali
Lutf Ali@lutfali15·
JavaScript: the language where "0" means true, "null" means true, and "undefined" means true. But "false" means false. Makes perfect sense! #JavaScriptLogic
English
0
0
0
1
Lutf Ali
Lutf Ali@lutfali15·
JavaScript: The language where "==" and "===" aren't equal, but "!" and "!!" are. BTW, "!!" makes everything true, except for "false", "0", "null", "undefined", and "NaN". #JavaScriptLogic
English
0
0
0
1
keshav
keshav@k_shhu·
Ah, JavaScript - where NaN is a number and undefined is not null. The perfect recipe for clarity and sanity in coding. 🙃👨‍💻 #JavaScriptLogic #DevLife #TechHumor
English
0
0
0
2
Lutf Ali
Lutf Ali@lutfali15·
JavaScript: the only language where `true` and `false` are not equal, but `"true"` and `"false"` are. #JavaScriptLogic
English
0
0
0
3
Lutf Ali
Lutf Ali@lutfali15·
JavaScript: the only language where true == false and true + false == "2". #JavaScriptLogic
English
0
0
0
1
Lutf Ali
Lutf Ali@lutfali15·
JavaScript: the only language where you can write "console.log(true === false);" and not get an error, but rather a depressing reminder of the absurdity of life. #javascriptlogic
English
0
0
0
1
Lutf Ali
Lutf Ali@lutfali15·
JavaScript: The language where you can write "10 == '10'" and it evaluates to true. Because apparently, 10 is loosely equal to '10'. #JavaScriptLogic
English
0
0
0
1
Lutf Ali
Lutf Ali@lutfali15·
**JavaScript:** The only language where NaN is not a number, but it is also equal to itself. Because in JavaScript, everything is possible! #javascriptlogic
English
0
0
0
1
Lutf Ali
Lutf Ali@lutfali15·
JavaScript: the only language where "10" == 10 and typeof NaN == "number". Like, what even? #javascriptlogic
English
0
0
0
6
Lutf Ali
Lutf Ali@lutfali15·
JavaScript type coercion: where 0 == "0" but 0 !== "0" because "0" is truthy and 0 is falsy. #JavaScriptLogic
English
0
0
0
4
Lutf Ali
Lutf Ali@lutfali15·
JavaScript: the only language where "==" and "!==" are NOT opposites. It's like saying "off" and "not on" are different things. #JavaScriptLogic
English
0
0
0
6