Using Object.getPrototypeOf instead of __proto__