javascript prepend string to array code example
Example: javascript prepend string to array
const names = ["Bob", "Cassandra"]
names.unshift("Alex")
names === ["Alex", "Bob", "Cassandra"]
const names = ["Bob", "Cassandra"]
names.unshift("Alex")
names === ["Alex", "Bob", "Cassandra"]