There's a syntax error and I think it's because of line 10


#1

if(/*hits.length is 0*/) {
console.log("Your name wasn't found!");
}else {
console.log(hits);
}

The hint shows the use of a /* and */ . What are those for since when I use them they phase out my line but that doesn't happen in the example they show.


#2

/* This is a multiline comment in JS */
You need to change the part with the comment in:

if(/*hits.length is 0*/) {
    console.log("Your name wasn't found!");
}
else { 
    console.log(hits); 
}

||
V

if(hits.length === 0) {
    console.log("Your name wasn't found!");
}
else { 
    console.log(hits); 
}

#3

Hi this part its a example you should put hits.length equale to 0 like that


if(hits.length === 0) {

And the /* and */ its a open and closing coment