✍️ Hobbyist Writer, 🎲 Role player, 🧩 Game master, 🚀 Sci-Fi enthusiast, 💫 Star Citizen 🇪🇺 EU Citizen, 🐧 Linux user, 🧑‍💻 Professional Software Developer, 🏳️‍⚧️ Woman

  • 0 Posts
  • 88 Comments
Joined 1 year ago
cake
Cake day: June 5th, 2023

help-circle












  • macniel@feddit.detoProgrammer Humor@lemmy.mljs Monk and Fly
    link
    fedilink
    arrow-up
    8
    arrow-down
    2
    ·
    edit-2
    6 months ago

    typeof x === "undefined" is true.

    Then the bastard tries to willingly access x to equate it to undefined, but that can’t work since x is undefined and yields a ReferenceError (rendering the third expression moot).

    The monks answers of document.all is not applicable since document.all is a live set of data which can be nothing or everything.

    Who even introduced document.all? I bet it was microsoft…