let
let – Declares one or more block scope variables, and optionally sets a value to them.
Description
let mixed variable, …
Parameters
Name | Description | Type | Default | Optional |
---|---|---|---|---|
variable, … | One or more variable values to be set. | mixed | No |
Changelog
Version | Description |
---|---|
ES 6 | Introduced. |
Examples
Example #1 – let example