GoScrobble/web/node_modules/lodash-es/_addSetEntry.js

16 lines
328 B
JavaScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
/**
* Adds `value` to `set`.
*
* @private
* @param {Object} set The set to modify.
* @param {*} value The value to add.
* @returns {Object} Returns `set`.
*/
function addSetEntry(set, value) {
// Don't return `set.add` because it's not chainable in IE 11.
set.add(value);
return set;
}
export default addSetEntry;