Problem in "No such contact"

Tell us what’s happening:
Hello everybody
I solve this problem, but it seems that everytime, even if the Contact exists returns the Prop of the contact but also return “No such contact” …I cant understand how to fix this.

Does anybody knows where the problem is?
Thank you

You can take a look my code Here:

Your code so far

var contacts = [
    "firstName": "Akira",
    "lastName": "Laine",
    "number": "0543236543",
    "likes": ["Pizza", "Coding", "Brownie Points"]
    "firstName": "Harry",
    "lastName": "Potter",
    "number": "0994372684",
    "likes": ["Hogwarts", "Magic", "Hagrid"]
    "firstName": "Sherlock",
    "lastName": "Holmes",
    "number": "0487345643",
    "likes": ["Intriguing Cases", "Violin"]
    "firstName": "Kristian",
    "lastName": "Vos",
    "number": "unknown",
    "likes": ["JavaScript", "Gaming", "Foxes"]

function lookUpProfile(name, prop) {
// Only change code below this line
for (var i = 0; i < contacts.length; i++) {
if (contacts[i].firstName === name) {
    if (contacts[i].hasOwnProperty(prop)) {
        return contacts[i][prop];
    } else {
        return "No such property";

return "No such contact";
// Only change code above this line

lookUpProfile("Akira", "number"); 

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36.

Challenge: Profile Lookup

Link to the challenge:

Hello there,

I am not sure what you mean…your code is correct, and does not return two things at the same time…

Your code has been blurred out to avoid spoiling a full working solution for other campers who may not yet want to see a complete solution. In the future, if you post a full passing solution to a challenge and have questions about it, please surround it with [spoiler] and [/spoiler] tags on the line above and below your solution code.

Thank you.

I’m sorry i did not know that…Next time [spoiler]

Thank you, i think i find the problem.
I try to solve this in Visual Studio and i put console.log so everytime returns the message to the console

do not change the return statement with a console.log
put the console.log above the return statement

this is because a return statement make the function stops and return a value, the console.log just prints a value without interrupting anything