-
My browser (firefox) warns against both methods being deprecated and recommends using [dataset](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset) or [Weakmap](https://developer.moz…
-
cjs version is trying to `new exports.WeakMap` so there's a problem with the cjs config
-
```
async function test()
{
const JSONPatcherProxy = (await import("jsonpatcherproxy")).JSONPatcherProxy
let gS = {
uno: {
},
}
let jsonPatcherProxy = new …
-
It might be reasonable to cache shader objects and program objects in a weakmap.
-
### Describe the problem
### Related Issue/Discussion
- Closes https://github.com/sveltejs/kit/discussions/4339#discussioncomment-10830952
- Closes https://github.com/sveltejs/kit/issues/9160
- …
-
Is it possible remove WeakReference usage or add generic WatchingCache?
JavaScript engine does not implement WeakReference but implement WeakMap.
For clojurescript support #20
-
One idea that came up in verbal discussions of ThreadBoundData was the alternative of allowing shared objects as keys in a FinalizationRegistry, but not as keys in WeakMap. Opening this issue to conti…
-
[相关参考资料](http://es6.ruanyifeng.com/#docs/set-map)
[相关面试](https://juejin.im/entry/5a968ba56fb9a06340524128?utm_source=gold_browser_extension)
### Set 和 Map 数据结构
### weakMap和map的区别
-
cc @Krinkle @FritsvanCampen
I migrated my weakmap shim here. If anyone knows of any other bug fixes that would be cool.
-
```ts
type DeepReadonly = {
readonly [k in keyof T]: T[k] extends Record
? T[k] extends Function
? T[k]
: DeepReadonly
: T[k]
}
```