Which keyword declares a block-scoped variable?

00

Questions

00

Attempts

00

Passed

00

Failed

00

Likes

01

Views

00

Shares

00

Comments

QUESTION
Which keyword declares a block-scoped variable?

Answer: let
let (and const) are block-scoped; var is function-scoped.


Your Comment
Opinions & Comments

No comments yet.

WAS THIS QUESTION HELPFUL?
Please help us improve by giving us your feedback.
WAS THIS QUIZ HELPFUL?

Related Questions