record() is a bypass function that returns the object passed in. But also records the current stack trace and binds it to the object with an internal WeakMap. To retrieve the stack trace, use getTrace ...
Storing references to window objects is memory-expensive, even after those window objects have closed. Existing WeakMap shims hang an object of the WeakMap key. This poses a problem when dealing with ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results