Declare variable

let

Create a new variable with let and assign a value to the variable using :=.

The name of the variable must not be a keyword. For example, let let is not allowed.

Example

let myText := "Hello " + 'First Name' + "!";
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 updated