You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this example (link to example) the output for child.greed() is // Hello from Parent. Which is incorrect - it prints Hello from undefined if I run that code in the dev tool console tab.
The text was updated successfully, but these errors were encountered:
anton-pas
changed the title
Example of Prototypal Inheritance has incorrect console.log output
Example of Prototypal Inheritance has incorrect output
Nov 13, 2022
In this example (link to example) the output for
child.greed()
is// Hello from Parent
. Which is incorrect - it printsHello from undefined
if I run that code in the dev tool console tab.The text was updated successfully, but these errors were encountered: