Ive been experimenting with the spacing and I keep getting the same error code.
Oops, try again. Your code should have printed ‘I know someone called Ava’, but didn’t. Make sure to type the 'I know someone called ’ part exactly right, and don’t forget the space between that phrase and the name!
var names = ["Ava", "Alex", "Becky", "Beatrice", "Cassandra"];
for (var i = 0; i < names.length; i++);
console.log("I know someone called"+" "+names[i]);
This is telling you that there is no value in names[i]. Your job then is to figure out “How could that be?” When you can’t spot an error yourself, ask your program to print out more information so that you can see what it is doing.