filmov
tv
'var' declaration hoisting in JavaScript | var VS let/const

Показать описание
----------------------------------------------------------------------------------------
LINKS
-----------------------------------------------------------------------------------------
The Complete HTML Course for Beginners
Frontend Developer Study Plans
Courses, Study Plans, Guides & More
The Code Dose Website
----------------------------------------------------------------------------------------
TIMESTAMPS
-----------------------------------------------------------------------------------------
0:00 Intro
0:33 var is NOT block-scoped
1:15 var is function-scoped (or global)
3:00 declaration hoisting
4:48 important note on hoisting
5:37 hoisting in let/const & TDZ
6:17 var redeclaration
8:17 DON'T use var
8:28 practice question
Комментарии