DEV Community

loading...

Discussion on: With great prototype power comes great responsibility

Collapse
karataev profile image
Eugene Karataev Author

Yeah, thanks for mentioning this method. But using hasOwnProperty will console.log different result in the post's example, so use it with caution.