Comment supprimer __proto__ de l'objet JavaScript
// Replacing the original prototype with null
MyConstructor.prototype = Object.create(null);
Expensive Emu
// Replacing the original prototype with null
MyConstructor.prototype = Object.create(null);