MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/pm80y1/why/hchrkrr/?context=3
r/badcode • u/sertdfyguhi • Sep 11 '21
70 comments sorted by
View all comments
Show parent comment
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.
View all comments
Show parent comment
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.