odin-javascript-exercises/node_modules/lodash/_defineProperty.js
2017-12-15 12:56:14 -06:00

11 lines
233 B
JavaScript

var getNative = require('./_getNative');
var defineProperty = (function() {
try {
var func = getNative(Object, 'defineProperty');
func({}, '', {});
return func;
} catch (e) {}
}());
module.exports = defineProperty;