Space TimelineSpace Timeline

Other JavaScript Operators Used for Expressions

Operator

Description

Example

Operator

Description

Example

Condition ? '_string_' : '_string_'

conditional (ternary) operator. Takes three operands: a condition followed by a question mark (?), then an expression to execute if the condition is TRUE followed by a colon (:), and finally the expression to execute if the condition is FALSE.

function getFee(isMember) {

  return (isMember ? '$2.00' : '$10.00');

}

startingPointData['Owner1.EntityName'] ? 'Entity' : 'Person'

'_string_' + '_string_'

concatenation operator (+) concatenates two string values together, returning another string

{{startingPointData['Owner1.FirstName'] + ' ' + startingPointData['Owner1.LastName']}}