From 6dc05575a65bf6bdc6f52848d274b1f333a36076 Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Mon, 6 Sep 2021 01:20:40 -0700 Subject: scale back the examples page --- docs/src/components/Examples/Functions/random-index.js | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 docs/src/components/Examples/Functions/random-index.js (limited to 'docs/src/components/Examples/Functions/random-index.js') diff --git a/docs/src/components/Examples/Functions/random-index.js b/docs/src/components/Examples/Functions/random-index.js deleted file mode 100644 index a55487da5..000000000 --- a/docs/src/components/Examples/Functions/random-index.js +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Random Index from Array - * @param {Number} length - Length of Array - * @returns Random Index from the Array - */ - -const randomIndex = (length) => Math.round(Math.random() * (0-length)) + length - 1 - -export default randomIndex \ No newline at end of file -- cgit v1.2.3