Whenever I type console.log/console.dir on an object, one of the properties that always shows up is __proto__ which is the constructor.
is there any way to hide this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Redefine console.log:
This won’t modify the original object which definitely needs to have __proto__.