Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

let

Description

The let of Declarations for JS declares a block-scoped variable.

Syntax

let name1 [= value1][, name2 [= value2][, nameN [= valueN]]]

Examples

1 · Single · Declare and Assign

2 · Single · Declare then Assign

3 · Multiple · Declare and Assign

4 · Multiple · Declare then Assign

5 · Scope

const

var

European Computer Manufacturers Association (ECMA)

HomeMenu