Skip to content

arrShuffle JavaScriptDart

주어진 배열의 순서를 섞어서 반환합니다.

Parameters

  • array::any[]

Returns

any[]

Examples

javascript
arrShuffle([1, 2, 3, 4]); // Returns [4, 2, 3, 1]

Released under the MIT License