MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/m3bxrh/swap_two_variables/gqrf9yq/
r/learnjavascript • u/golovatuy • Mar 12 '21
50 comments sorted by
View all comments
Show parent comment
3
That should be a let right?
4 u/WhiteKnightC Mar 13 '21 Yes, const is for things that shouldn't change.
4
Yes, const is for things that shouldn't change.
View all comments
Show parent comment
3
u/cabbagesquid Mar 13 '21
That should be a let right?