Help! Profile Lookup Challenge (Basic Javascript)

Can anyone tell me what’s wrong with my code? I can’t seem to figure it out :confused:

What you want to do is go through all of your array elements, check if they meet your requirements and return those which do.

So you need to use normal for loop:

for (var i = 0; i < array.length; i++) { if(array[i] === param...); }


I had the exact same problem. Look where you put ‘No such property’ line!