Losowe słowo JavaScript
// function for selecting a random index from an array
const pickOne = (arr) => arr[Math.floor(Math.random() * arr.length)];
let choice = pickOne(["Apple", "Banana", "Orange"]);
DenverCoder1