shuffle

shuffle ( list/array list ) : list

Shuffle elements of a list.

Example


maps = ["chocolate","ice cream","banana split"]
console(shuffle(maps)) //-> [banana split, ice cream, chocolate]

Parameters

list