-
_This issue was originally filed by @pjako_
---
I would like to have weak references in dart, I know its hard to do in javascript, currently at least.
Currently I want to give an object some unique…
-
Hello,
I've been using PostRobot for a while. I use it to communicate with my application when implementing it in an iframe. I am on Nuxt2, and it works very well.
I am currently migrating to Nu…
-
### Current behavior
Cypress' contains the following line in `node_modules/cypress/types/lodash.d.ts`, which is created by the cypress package somehow (it is not a normal node_modules dependency, a…
-
- `three` version: 0.164.1
- `@react-three/fiber` version: 8.16.3
- `@react-three/drei` version: 9.105.6
- `node` version: 21.7,3
- `npm` (or `yarn`) version: 10.5.2
- Expo: 50.0.17
### P…
fl1k updated
2 months ago
-
WeakMap is a javascript map where keys can be anything, **including JS objects**. Contrast this to other maps where keys must be primitives. In addition, since the map is "weak", keys are only weakly …
-
# Bug report
When you do something like phpstan will report "Static property HelloWorld::$bug (WeakMap) does not accept WeakMap", probably it must not do this (non-static property work as expected)…
-
Hi! I caught an error when trying to pass `targetCache`.
Problem appears if call `createProxy` with a regular object, then with the same (by link) but frozen object.
```typescript
const targetC…
-
Theres currently no way of visualizing the weakmap on the points, which is very cumbersome/unintuitive from an artists perspective.
How this would be implemented, i do not know. But i imagine a sim…
-
For now, there is no way to introspect weakmaps, maps and sets.
For all, an accessor like .allKeys could do the job of enumerating all keys (which can be particularly useful for debugging WeakMaps).
…
-
## Map
```js
/* 数据结构Map */
// 任何类型的值都可以当作键
// 构造
const obj = { 'a': 'aaa' };
const a = new Map;
const a1 = new Map([
['name', 'abc'],
[obj, 1]
]);
console.log(a1.has(obj)); // true
/…