GoScrobble/web/node_modules/core-js-pure/modules/es.object.define-property.js

10 lines
396 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
var $ = require('../internals/export');
var DESCRIPTORS = require('../internals/descriptors');
var objectDefinePropertyModile = require('../internals/object-define-property');
// `Object.defineProperty` method
// https://tc39.es/ecma262/#sec-object.defineproperty
$({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, {
defineProperty: objectDefinePropertyModile.f
});