When should you use the "let" keyword instead of the "var" keyword ?

Always.
When you want to declare a variable that is only accessible within a block.
When you want to declare a variable that is accessible throughout a function or class.
When you want to redeclare a variable.
Verified Answer
Correct Option - b

To get all Infosys Certified L2 Junior React Developer Exam questions Join Telegram Group https://grateful.prepflix.in/infy-lex-pdfs

Telegram