This question was updated very recently. The code you are seeing when you load the challenge is correct. The solution in the hint is also correct (you can ignore the declaration of myObj in that solution, just completely forget that it is there, it is not needed). The video solution on the other hand is bad, it is outdated and doesn’t reflect the correct answer. So just ignore that.
It actually doesn’t need to be declared. The function checkObj takes two parameters. The first one is an object (obj). That is the object you will make your checks against inside the function body. When you run the tests, the tests will pass in a bunch of random objects to your function.