varor i en array example javascript Example: how to make an array in javascript var names = ["Sanjith", "Pranav", "Aadya", "Saharsh"]