Sign in
webkit
/
WebKit
/
d182194da3bda0c22cb2f7262c244eb6afd6ae11
/
.
/
JSTests
/
es6
/
well-known_symbols_Symbol.split.js
blob: e57cb3d7bbe47dbe4ca2b585e9ca716430d4179e [
file
] [
log
] [
blame
]
function
test
()
{
var
O
=
{};
O
[
Symbol
.
split
]
=
function
(){
return
42
;
};
return
''
.
split
(
O
)
===
42
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);