Question · JavaScript and TypeScript course · Module 1: JavaScript Basics

Variables in JavaScript - const

Which variable declaration keyword prevents reassignment of a value?

Answer options

  • function
  • const
  • let
  • var
Show the answer

Correct answer:

  • const