diff --git a/packages/core-js/internals/create-property.js b/packages/core-js/internals/create-property.js index 9f81aa60b914..ce79686998b6 100644 --- a/packages/core-js/internals/create-property.js +++ b/packages/core-js/internals/create-property.js @@ -5,6 +5,5 @@ var createPropertyDescriptor = require('../internals/create-property-descriptor' module.exports = function (object, key, value) { var propertyKey = toPropertyKey(key); - if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); - else object[propertyKey] = value; + definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); };