Skip to content

Commit fed24dc

Browse files
committed
chore: remove legacy note
1 parent 0ebb816 commit fed24dc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/@lwc/engine-core/src/framework/weak-multimap.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ import { ArrayPush, ArraySplice, isUndefined } from '@lwc/shared';
1212
* The goal is to avoid leaking the values, which is what would happen with a WeakMap<K, Set<V>>.
1313
*
1414
* Note that this is currently only intended to be used in dev/PRODDEBUG environments.
15-
* It leaks in legacy browsers, which may be undesired.
1615
*
17-
* This implementation relies on the WeakRef/FinalizationRegistry proposal.
16+
* This implementation relies on WeakRefs and FinalizationRegistry.
1817
* For some background, see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakRef
1918
*/
2019
export class WeakMultiMap<K extends object, V extends object> {

0 commit comments

Comments
 (0)