Quck question about 2/6


when they ask to make an array for the contacts I first put

var contacts = ["bob", "mary"]

but that wasn't right.

but when I put

var contacts = [bob, mary]

it was correct. why is that?


Because bob and mary are variables, if you put them in as strings the computer won't understand that they are the variables defined earlier... ^^ I hope it's clearer now