Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Which of the following statements accurately describes the difference between 'let' and 'var' when declaring variables?
'var' has block scope, while 'let' has function scope.
Both 'let' and 'var' have function scope.
Both 'let' and 'var' have block scope.
'let' has block scope, while 'var' has function scope.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!