const names = ["Sam", "Alex", "Charley"]; names.at(Math.random() * names.length);
a random element from the names array