File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
packages/svelte/src/reactivity Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " svelte " : patch
3+ ---
4+
5+ fix: addresses reactive Set bug in certain engines
Original file line number Diff line number Diff line change @@ -47,10 +47,7 @@ export class ReactiveSet extends Set {
4747 var proto = ReactiveSet . prototype ;
4848 var set_proto = Set . prototype ;
4949
50- /** @type {string } */
51- var method ;
52-
53- for ( method of read_methods ) {
50+ for ( const method of read_methods ) {
5451 // @ts -ignore
5552 proto [ method ] = function ( ...v ) {
5653 get ( this . #version) ;
@@ -59,7 +56,7 @@ export class ReactiveSet extends Set {
5956 } ;
6057 }
6158
62- for ( method of set_like_methods ) {
59+ for ( const method of set_like_methods ) {
6360 // @ts -ignore
6461 proto [ method ] = function ( ...v ) {
6562 get ( this . #version) ;
You can’t perform that action at this time.
0 commit comments