mirror of https://github.com/lukechilds/node.git
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.
15 lines
265 B
15 lines
265 B
9 years 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) {
|
||
|
set.add(value);
|
||
|
return set;
|
||
|
}
|
||
|
|
||
|
module.exports = addSetEntry;
|