204
js Monk and Fly (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] Tartas1995@discuss.tchncs.de 18 points 4 months ago

I can't test it right now but I would love to know. Is it true?

[-] burrito82@feddit.de 41 points 4 months ago* (last edited 4 months ago)

Seems to be so, see Exceptional behavior of document.all

Although document.all is also falsy and loosely equal to undefined, it is not undefined. The case of document.all having type "undefined" is classified in the web standards as a "willful violation" of the original ECMAScript standard for web compatibility.

load more comments (3 replies)
this post was submitted on 12 May 2024
204 points (95.9% liked)

Programmer Humor

32020 readers
515 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS