Basic JavaScript - Testing Objects for Properties

No idea whats going on here, not sure where this “pony” and “kitten” stuff is coming from but there’s nothing about it in the instructions. No video and the github answer is wrong. Just need the answer, no trolls please.

Your code so far

function checkObj(obj, checkProp) {
  // Only change code below this line
  return "Change Me!";
  // Only change code above this line

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Basic JavaScript - Testing Objects for Properties

Link to the challenge:

That is part of the function arguments.

obj is an object. checkProp is a string. This is where the values ‘come from’. The values of the function arguments are set when the function is called.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.