define-property.js 328 B

1234567891011
  1. 'use strict';
  2. require('../../modules/es.object.define-property');
  3. var path = require('../../internals/path');
  4. var Object = path.Object;
  5. var defineProperty = module.exports = function defineProperty(it, key, desc) {
  6. return Object.defineProperty(it, key, desc);
  7. };
  8. if (Object.defineProperty.sham) defineProperty.sham = true;