How to choose between let and const in JavaScript (just use let!)

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

This is bad advice, use const everywhere until your editor complains because you're trying to reassign something, at the point you need to use let. It's more efficient to use const for your programs and can be a great habit for transitioning to stacks with React/Angular etc...

RyanThickett
visit shbcf.ru