This is my first time posting on the forum.
I am having a strange problem which I would like some help with or clarification.
I am using Visual Studio Code to practice my FCC problems, however whenever
I execute the code for this specific exercise I’m getting erratic output.
After creating the instance of my Dog constructor, I display it using the console.log
method just to verify it. I then move on to display the ownProps and prototypeProps
However, whenever I console.log the beagle instance, I only get the output for
ownProps array. ‘console.log(prototypeProps)’ is mysteriously omitted.
If I remove the console.log(beagle), both arrays are outputted correctly.
Can anybody explain this behaviour, or is it possibly an issue with Visual Studio Code?
FCC seems to be logging the info correctly.
Your code so far