re: Destructuring JavaScript objects like a pro VIEW POST

FULL DISCUSSION
 
 

Nice, didn't realise one could easily use this to swap variables!

 

Congrats :)
I should probably tell people not to look at comments before trying 😄

code of conduct - report abuse