mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-08 19:34:56 +02:00
9 lines
297 B
JavaScript
9 lines
297 B
JavaScript
'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;
|
|
};
|