84
you are viewing a single comment's thread
view the rest of the comments
[-] JackbyDev@programming.dev 1 points 1 year ago

Basically JavaScript uses undefined to mean keys that don't exist. You know how sometimes when you're wondering about the semantics of "present but null" and "absent"? It's basically that. Undefined means it isn't there but things are only null if they've been set to null.

There are probably more nuances but that is the gist.

this post was submitted on 06 Jul 2023
84 points (98.8% liked)

Programmer Humor

19178 readers
980 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS