Question: Why would a developer use let instead of const when declaring a variable in JavaScript? a . ) The let keyword is not globally accessible.
Why would a developer use let instead of const when declaring a variable in JavaScript?
a
The let keyword is not globally accessible.
b
The let keyword will prevent the variable from being changed.
c
The let keyword will allow the variable to be changed, if needed.
d
The let keyword will not limit the variable to the block scope.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
