mirror of
https://github.com/photonstorm/phaser
synced 2024-12-18 09:03:29 +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;
|