Hi freeCoders,
I am a bit confused about the challenge below. When I practice it on developer tool’s console, the newly created instance (let’s say “zozo”) is still able to see the constructor property (zozo.constructor) even after manually setting the prototype of the constructor function “Animal” to an object literal. So it’s not undefined as mentioned in the example.
I don’t think the context is clear in this example. Can someone tell me what I am missing
Thanks in advance
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36
.
Link to the challenge: