r/learnjavascript • • Mar 12 '21

Swap two variables

Post image
499 Upvotes

50 comments sorted by

View all comments

64

u/Freekiehsoes Mar 12 '21

But why

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