All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.core-js.library.modules.es6.reflect.delete-property.js Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
// 26.1.4 Reflect.deleteProperty(target, propertyKey)
var $export = require('./_export');
var gOPD = require('./_object-gopd').f;
var anObject = require('./_an-object');

$export($export.S, 'Reflect', {
  deleteProperty: function deleteProperty(target, propertyKey) {
    var desc = gOPD(anObject(target), propertyKey);
    return desc && !desc.configurable ? false : delete target[propertyKey];
  }
});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy