_defineProperty.js 233 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
var getNative = require('./_getNative');

var defineProperty = (function() {
  try {
    var func = getNative(Object, 'defineProperty');
    func({}, '', {});
    return func;
  } catch (e) {}
}());

module.exports = defineProperty;