• Shuffle an array. This function mutates the array.

    类型参数

    • T

    参数

    • array: T[]

    返回 T[]