Bug in question - does not match solution

Welcome, lukaszkukla.

Neither of what you have provided should pass the tests.

  1. You are not doing what was taught in previous lessons about this topic:
    How do a function parameters access the object
    Need HELP in how to access an object property!
    Why would you ever use dot notation over bracket notation?

  2. Why are you adding an object myObj?

Click this link, only if you want to see the solution: freeCodeCamp Challenge Guide: Testing Objects for Properties

2 Likes