Version 1
[yaffs-website] / node_modules / uncss / node_modules / form-data / node_modules / lodash / _addSetEntry.js
diff --git a/node_modules/uncss/node_modules/form-data/node_modules/lodash/_addSetEntry.js b/node_modules/uncss/node_modules/form-data/node_modules/lodash/_addSetEntry.js
new file mode 100644 (file)
index 0000000..1a07b70
--- /dev/null
@@ -0,0 +1,15 @@
+/**
+ * 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;
+}
+
+module.exports = addSetEntry;