It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.
This is a function call which is how you pass values to your function. If you notice the first value is an object, the second value is a string. They will be given to your parameters for you to use in your function.
You can use hasOwnProperty method on an object, and pass it a string to test if that object has that property. And like the test says it will return a boolean of true or false depending on if the object has that property.
If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.