debian-mirror-gitlab/core-js/es/object/define-property.js
2019-09-25 13:30:05 +05:30

10 lines
314 B
JavaScript

require('../../modules/es.object.define-property');
var path = require('../../internals/path');
var Object = path.Object;
var defineProperty = module.exports = function defineProperty(it, key, desc) {
return Object.defineProperty(it, key, desc);
};
if (Object.defineProperty.sham) defineProperty.sham = true;