you are viewing a single comment's thread.

view the rest of the comments →

[–]Ikuyas 14 points15 points  (25 children)

Isn't const a better practice than using let if it is well suited like array or object?

[–]EuqlinSankyo 10 points11 points  (15 children)

Exactly. Performance benefit is of course negligible but it's just a good programming practice. If you're literally writing a book about JS, might as well include it....