Introduction to JavaScript Objects and Their Properties - What Is the Object() Constructor, and When Should You Use It?

Tell us what’s happening:

In the lesson: "Introduction to JavaScript Objects and Their Properties - What Is the Object() Constructor, and When Should You Use It? "

The example suggest that the first console.log should show //42, but it doesn’t, instead it shows what looks like an empty constructor, or empty object.

This is confusing to me, and I’m unsure what is actually supposed to happen here. Is this lesson inaccurate, or am I misunderstading the instruction.

Thank you for the review of this lesson.

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0

Challenge Information:

Introduction to JavaScript Objects and Their Properties - What Is the Object() Constructor, and When Should You Use It?

it should show this

Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.

Thanks for the quick reply. I did drop the example code into VS Code, and saw something similar to what was intended in the terminal.

I will upload this to the github issues team now.

Thanks again!