remove __proto__ from object 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);