r/learnjavascript • • Nov 03 '20

22 Javascript String Methods 🔥

201 Upvotes

9 comments sorted by

View all comments

3

u/imapersonithink Nov 03 '20 edited Nov 03 '20

It's best practice to use 'const' instead of 'let', unless you plan on changing the value.

https://github.com/airbnb/javascript#references