JavaScript Premend String на массив

const names = ["Bob", "Cassandra"]

names.unshift("Alex")

names === ["Alex", "Bob", "Cassandra"]
Naughty Nightingale