diff --git a/guntest.html b/guntest.html index 861398fb..2fa7cea8 100644 --- a/guntest.html +++ b/guntest.html @@ -7,7 +7,7 @@ Document - + @@ -34,6 +34,12 @@ const UPPER = 100 + clearSet = (node) => { + node.map().once((_, key) => { + node.get(key).put(null) + }) + } + put = async () => { const res = await fetch(`https://jsonplaceholder.typicode.com/posts`) /** @type {Array} */ @@ -55,7 +61,7 @@ }) }) } - +