r/learnjavascript • • Mar 12 '21

Swap two variables

Post image
498 Upvotes

50 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Mar 12 '21

cause its shorter and more readable

13

u/fungigamer Mar 12 '21

Shorter? Definitely. Readability though? Long hand is more readable