_defineProperty.js 233 B

123456789101112
  1. var getNative = require('./_getNative');
  2. var defineProperty = (function() {
  3. try {
  4. var func = getNative(Object, 'defineProperty');
  5. func({}, '', {});
  6. return func;
  7. } catch (e) {}
  8. }());
  9. module.exports = defineProperty;