mirror of
https://github.com/photonstorm/phaser
synced 2024-12-12 22:33:09 +00:00
8 lines
251 B
TypeScript
8 lines
251 B
TypeScript
/**
|
|
* A standard Fisher-Yates Array shuffle implementation which modifies the array in place.
|
|
*
|
|
* @method
|
|
* @param {any[]} array - The array to shuffle.
|
|
* @return {any[]} The original array, now shuffled.
|
|
*/
|
|
export default function (array: any): any;
|