Skip to main content
variable shuffle
import { shuffle } from "https://deno.land/x/30_seconds_of_typescript@v1.0.1/util.ts";

Randomizes the order of the values of an array, returning a new array.

Use the Fisher-Yates algorithm to reorder the elements of the array.

type

(unnamed 0) => unknown