We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dff4777 commit 217a657Copy full SHA for 217a657
lib/util/cachedMerge.js
@@ -5,7 +5,12 @@
5
"use strict";
6
7
const mergeCache = new WeakMap();
8
-
+/**
9
+ * returns something
10
+ * @param {object} first first key
11
+ * @param {object} second second key
12
+ * @returns {WeakMap} new merge
13
+ */
14
const cachedMerge = (first, second) => {
15
let innerCache = mergeCache.get(first);
16
if (innerCache === undefined) {
0 commit comments