@@ -10,7 +10,7 @@ export function init_array_prototype_warnings() {
10
10
array_prototype . indexOf = function ( search_element , from_index ) {
11
11
const index = original_index_of . call ( this , search_element , from_index ) ;
12
12
if ( index === - 1 ) {
13
- if ( original_index_of . call ( raw ( this ) , raw ( search_element ) , from_index ) !== - 1 ) {
13
+ if ( original_index_of . call ( raw ( this ) , search_element , from_index ) !== - 1 ) {
14
14
w . state_proxy_equality_mismatch ( 'Array.indexOf' ) ;
15
15
}
16
16
}
@@ -22,7 +22,7 @@ export function init_array_prototype_warnings() {
22
22
array_prototype . lastIndexOf = function ( search_element , from_index ) {
23
23
const index = original_last_index_of . call ( this , search_element , from_index ) ;
24
24
if ( index === - 1 ) {
25
- if ( original_last_index_of . call ( raw ( this ) , raw ( search_element ) , from_index ) !== - 1 ) {
25
+ if ( original_last_index_of . call ( raw ( this ) , search_element , from_index ) !== - 1 ) {
26
26
w . state_proxy_equality_mismatch ( 'Array.lastIndexOf' ) ;
27
27
}
28
28
}
@@ -34,7 +34,7 @@ export function init_array_prototype_warnings() {
34
34
array_prototype . includes = function ( search_element , from_index ) {
35
35
const has = original_includes . call ( this , search_element , from_index ) ;
36
36
if ( ! has ) {
37
- if ( original_includes . call ( raw ( this ) , raw ( search_element ) , from_index ) ) {
37
+ if ( original_includes . call ( raw ( this ) , search_element , from_index ) ) {
38
38
w . state_proxy_equality_mismatch ( 'Array.includes' ) ;
39
39
}
40
40
}
0 commit comments