Which keyword declares a variable that cannot be reassigned after initialization?

JavaScript Easy
Select the correct answer: Single Choice

Key points

  • const is used for variables that should not be reassigned.
  • let allows reassignment of values.
  • var is an older way to declare variables in JavaScript.

Ready to go further?