mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +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);
|
||
|
};
|