Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

Which keyword declares a block-scoped variable that cannot be reassigned?

  1. A var
  2. B let
  3. C const
  4. D static
Answer

const

const prevents reassignment of the binding but does not make the value immutable. Properties of a const object can still be changed.

All Javascript MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as