Comment on page
Declare variable
let
Create a new variable with
let
and assign a value to the variable using :=
.1
let myText := "Hello " + 'First Name' + "!";
2
myText
Result: Hello Sam! (if the name Sam is pulled from the First Name field)
You can use
var
instead of let
to declare a variable. We recommend using let
as var
is a bit outdated. 😎
Last modified 1yr ago