mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
7 lines
266 B
JavaScript
7 lines
266 B
JavaScript
|
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);
|
||
|
};
|