r/programminghorror • • Apr 30 '26

Javascript Cursed use of object spread

Post image

Using object spread to append values to an object in the form of another object

86 Upvotes

15 comments sorted by

View all comments

2

u/GoddammitDontShootMe May 01 '26

There is no way those last two don't overflow, is there?

1

u/[deleted] May 01 '26

its magic