error on accessing prototype.function code example
Example: how to remove __proto__ from javascript object
// Replacing the original prototype with null
MyConstructor.prototype = Object.create(null);
// Replacing the original prototype with null
MyConstructor.prototype = Object.create(null);