Missing setup on challenge

Does this challenge miss the setup? Looks very different on the youtube video.

Challenge: Testing Objects for Properties

Link to the challenge:

The challenges have changed over time. Videos may have been made with different incarnations. Just try to solve the challenge.

how to solve without a setup

You have a little setup. You have the body of a function and the arguments. This is already more than you get in the real world.

You have this:

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

Edit that. Expand out that return line. You don’t have to do it in one line - you can use several. But figure out how you will accomplish what is asked. Take it in small steps. First figure out how to figure out is the property exists, maybe.

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