Sign in
webkit
/
WebKit
/
4ba7fe936ef6ae9d62102c8eed5d38ba3f6d5cc4
/
.
/
JSTests
/
es6
/
well-known_symbols_Symbol.match_String.prototype.includes.js
blob: 9e14d37afec2a7babd9ed0ce53b1ec8320e68e08 [
file
] [
log
] [
blame
]
function
test
()
{
var
re
=
/./
;
try
{
'/./'
.
includes
(
re
);
}
catch
(
e
){
re
[
Symbol
.
match
]
=
false
;
return
'/./'
.
includes
(
re
);
}
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);