Appearance
import { shuffle } from "grantlibs"; 或; const { shuffle } = require("grantlibs");
shuffle<T>( array: readonly T[]): T[]
(Array):返回一个新数组
shuffle([1, 2, 3, 4]); // => [4, 1, 3, 2]