redefine.js 266 Bytes Raw Blame History Permalink 1 2 3 4 5 6 var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); module.exports = function (target, key, value, options) { if (options && options.enumerable) target[key] = value; else createNonEnumerableProperty(target, key, value); };