Mark As Completed Discussion

Build your intuition. Click the correct answer from the options.

When should you use the let keyword instead of var?

Click the option that best answers the question.

  • When you want to declare a variable with function scope
  • When you want to declare a variable with block scope
  • When you want to enforce immutability
  • When you want to declare a global variable