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 {
47
47
var proto = ReactiveSet . prototype ;
48
48
var set_proto = Set . prototype ;
49
49
50
- /** @type {string } */
51
- var method ;
52
-
53
- for ( method of read_methods ) {
50
+ for ( const method of read_methods ) {
54
51
// @ts -ignore
55
52
proto [ method ] = function ( ...v ) {
56
53
get ( this . #version) ;
@@ -59,7 +56,7 @@ export class ReactiveSet extends Set {
59
56
} ;
60
57
}
61
58
62
- for ( method of set_like_methods ) {
59
+ for ( const method of set_like_methods ) {
63
60
// @ts -ignore
64
61
proto [ method ] = function ( ...v ) {
65
62
get ( this . #version) ;
You can’t perform that action at this time.
0 commit comments