Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Excerpt
hiddentrue

switch([condition1, result1],[condition2, result2],[,...,[conditionN, resultN],defaultResult) Evaluates a set of conditions in turn, and returns the associated result for the first match.

Function: switch()

Evaluates a set of conditions in turn, and returns the associated result for the first match.

...