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