It's not returning x and prop
The code executes a for loop over the array. The array is an array of Objects
If name - the first variable that is being taken in equals the firstName at the current (x) iteration of the loop AND if the current iteration of the loop contains a key (prop) == "likes" then return the value for that key (prop)
"x" is the current index of the loop through the array, "prop" is the key of the value of the object that is to be returned.