Yes, __proto__ is considered to be obsolete now and instead Object.setPrototypeOf and Object.getPrototypeOf are recommended for a number of reasons. The reasons are explained clearly in javascript.info/prototype-methods.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yes, __proto__ is considered to be obsolete now and instead
Object.setPrototypeOf
andObject.getPrototypeOf
are recommended for a number of reasons. The reasons are explained clearly in javascript.info/prototype-methods.