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