undefined
if (typeof x === 'undefined' || x === null)
if (x !== x) { //x is NaN
źródło: zagadka
źródło: image_picker_C6F089B4-278C-47BE-8838-BE026A4B90E9-6199-000001B989381DBA
Regulamin
Reklama
Kontakt
O nas
FAQ
Osiągnięcia
Ranking
postujcie najlepsze
"2" + undefined = "2undefined"
new Boolean(new Boolean(false)).valueOf() = true
typeof new String("123") = object
Wszystko ma swoje uzasadnienie ( ͡° ͜ʖ ͡°)
if (x !== x) { //x is NaN