r/programminghorror • • May 27 '26

Javascript Destructuring strings

Post image
887 Upvotes

64 comments sorted by

View all comments

Show parent comment

1

u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” May 28 '26

Does the name a matter or could it be anything?

4

u/Aaxper May 28 '26

I think that it can be anything, as long as a character won't have that property