const
is like let
plus read-only
scalar values are read-only
e.g. a number
or a string
complex types are NOT fully read-only
array`s items can be changed
object`s can be modified
Required Knowledge
- `let` declaration (Block scope)
Related Katas
Block scope
let
declarationconst
declaration
Difficulty Level
BEGINNER
First Published
24 March 2015
Stats
4 tests to solve