Declare variable
let
Create a new variable with let
and assign a value to the variable using :=
.
Example
Result: Hello Sam! (if the name Sam is pulled from the First Name field)
Last updated
let
Create a new variable with let
and assign a value to the variable using :=
.
Result: Hello Sam! (if the name Sam is pulled from the First Name field)
Last updated
The name of the variable must not be a keyword. For example, let let
is not allowed.
You can use var
instead of let
to declare a variable. We recommend using let
as var
is a bit outdated.