Skip to content

Keywords

The lexer currently recognizes these language keywords:

let
const
fn
if
else
for
while
return
true
false
null
and
or
not

Keyword support is part of lexical analysis. Whether a keyword is fully executable at runtime depends on the parser and interpreter implementation.