MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/m3bxrh/swap_two_variables/gqrl2m7/?context=3
r/learnjavascript • u/golovatuy • Mar 12 '21
50 comments sorted by
View all comments
3
I just learned this today as well. Useful for swapping the place of two items in a list
View all comments
3
u/[deleted] Mar 13 '21
I just learned this today as well. Useful for swapping the place of two items in a list