Sorry folks, but could any one spot what I'm doing wrong here? I'm really new to all kinds of coding.
var = names ["Kev", "Rory", "Robert", "Ian", "Taghd"];
for (var i = 0; i < names.length; i++)
console.log("I know someone called " + " " names[i]);
I've compared it against a lot of codes and I ca't see an issue but it will not print.
If possible could you explain what I'm missing.
SyntaxError: Unexpected token '='. Expected a parameter pattern or a ')' in parameter list.
Is there error I'm getting. I'm sure It's something obvious to those who know more but any help would be appreciated.
Thanks a million