Skip to content

Glossary: JavaScript Basics

const

Also written: constant

A keyword that declares a variable whose name can't be pointed at a new value after it is set. It is the usual default for variables, with `let` used only when a value must change.

Where the book teaches it

Related terms

letvar