OpenWGA 7.11 - TMLScript reference

WGA » WGA.List()
Method :

shuffle()

On object WGA.List()
Usage

Shuffles the list and returns the resulting list with random orderes elements as WGAList object for further method chaining.

Description Available since 7.11.9
Return value

WGAList object with new values.

Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
Examples

WGA.List([1, 2, 3]).shuffle()