Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Array method

Public visualization

Array method

0 stars0🌍 Public
EErik L
Last edited Jan 29, 2023
Created on Jan 29, 2023
Forked from HTML Starter

This example demonstrates a JavaScript array-shuffling algorithm. It creates an array containing the numbers 1 through 90, then randomizes the order of those elements using the Fisher–Yates shuffle technique. The shuffled array is output to the browser’s console via `console.log`. The page uses no external libraries; it relies solely on vanilla JavaScript and the native `Math.random` function for randomness. The code is embedded directly in a minimal HTML file and executes on page load, with commented-out variations showing alternate array sizes.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed