Files
ai-course/node_modules/core-js-pure/internals/define-built-in.js

9 lines
297 B
JavaScript
Raw Normal View History

'use strict';
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);
return target;
};