r/programminghumor • • Sep 25 '26

Tissues

Post image
1.8k Upvotes

31 comments sorted by

View all comments

Show parent comment

1

u/Yoshalina Sep 26 '26

it is possible to intentionally assign it with the undefined literal though, too.

2

u/TylerBreau Sep 26 '26

Before ECMAScript 5 you could also assign undefined.

1

u/Yoshalina Sep 26 '26

this is still possible. let meow = undefined;

2

u/TylerBreau Sep 26 '26

No, I mean undefined = 'meow';

2

u/Yoshalina Sep 26 '26

Oh. That is really fucking cursed.