File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
packages/svelte/src/internal/client/dev Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ export function init_array_prototype_warnings() {
17
17
) !== - 1
18
18
) {
19
19
w . state_proxy_equality_mismatch ( 'Array.indexOf' ) ;
20
+
21
+ // eslint-disable-next-line no-console
22
+ console . trace ( ) ;
20
23
}
21
24
}
22
25
return index ;
@@ -35,6 +38,9 @@ export function init_array_prototype_warnings() {
35
38
) !== - 1
36
39
) {
37
40
w . state_proxy_equality_mismatch ( 'Array.lastIndexOf' ) ;
41
+
42
+ // eslint-disable-next-line no-console
43
+ console . trace ( ) ;
38
44
}
39
45
}
40
46
return index ;
@@ -53,6 +59,9 @@ export function init_array_prototype_warnings() {
53
59
)
54
60
) {
55
61
w . state_proxy_equality_mismatch ( 'Array.includes' ) ;
62
+
63
+ // eslint-disable-next-line no-console
64
+ console . trace ( ) ;
56
65
}
57
66
}
58
67
return has ;
@@ -67,6 +76,9 @@ export function init_array_prototype_warnings() {
67
76
export function strict_equals ( a , b ) {
68
77
if ( a !== b && get_proxied_value ( a ) === get_proxied_value ( b ) ) {
69
78
w . state_proxy_equality_mismatch ( '=== operator' ) ;
79
+
80
+ // eslint-disable-next-line no-console
81
+ console . trace ( ) ;
70
82
}
71
83
72
84
return a === b ;
@@ -80,6 +92,9 @@ export function strict_equals(a, b) {
80
92
export function equals ( a , b ) {
81
93
if ( a != b && get_proxied_value ( a ) == get_proxied_value ( b ) ) {
82
94
w . state_proxy_equality_mismatch ( '== operator' ) ;
95
+
96
+ // eslint-disable-next-line no-console
97
+ console . trace ( ) ;
83
98
}
84
99
85
100
return a == b ;
You can’t perform that action at this time.
0 commit comments