debian-mirror-gitlab/core-js/es/object/define-property.js

11 lines
314 B
JavaScript
Raw Normal View History

2019-09-25 13:30:05 +05:30
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;