main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
328 bytes
|
Line | |
---|
1 | /**
|
---|
2 | * Adds `value` to `set`.
|
---|
3 | *
|
---|
4 | * @private
|
---|
5 | * @param {Object} set The set to modify.
|
---|
6 | * @param {*} value The value to add.
|
---|
7 | * @returns {Object} Returns `set`.
|
---|
8 | */
|
---|
9 | function addSetEntry(set, value) {
|
---|
10 | // Don't return `set.add` because it's not chainable in IE 11.
|
---|
11 | set.add(value);
|
---|
12 | return set;
|
---|
13 | }
|
---|
14 |
|
---|
15 | export default addSetEntry;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.