2/7 Need Help


I've Been Fiddling With This Code For A Hour And It Keeps Saying Oops, try again. Did you remember to make your hits variable an array? But I Don't Remember How To Make An Array...

var text = "Hey, how are you \
doing? My name is Emily.";
var myName = "Ian";
var hits = "30";


No one remembers everything, that is why developers usually use documentation and references.

Take a look here -> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array

To create an empty array you should use this code:

var hits = [];