loathers / freecandydotexe

A trick-or-treating script for the 2003 browser-based RPG Kingdom of Loathing.
Apache License 2.0
6 stars 8 forks source link

Maximizing requirements fails when you're sober #2

Closed gausie closed 3 years ago

gausie commented 3 years ago

Easy mistake to make, but explicit undefined vs "missing" undefined changes the behaviour of object spreading. It's the worst(?) bit of JS imo - people complain a lot but this is one of the only bits that truly doesn't make sense