forked from fdzcxy212206413/gsl_grs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
328 B
16 lines
328 B
1 month ago
|
/**
|
||
|
* 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;
|