r/programminghorror • • May 27 '26

Javascript Destructuring strings

Post image
887 Upvotes

64 comments sorted by

View all comments

Show parent comment

1

u/Mistsuu May 29 '26

So, the function also returns true with [1,2,3]?