Sign in
webkit
/
WebKit
/
ac9b8116eb05aa867afffdd98849e1d7daf6147c
/
.
/
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"
);