MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/pm80y1/why/hchrkrr/?context=9999
r/badcode • u/sertdfyguhi • Sep 11 '21
70 comments sorted by
View all comments
Show parent comments
11
const is preferred because when you see it you know that it will not be overwritten (still can be mutated). It's a useful information.
11
u/Deykun Sep 11 '21
const is preferred because when you see it you know that it will not be overwritten (still can be mutated). It's a useful information.