Sign in
webkit
/
WebKit
/
3ee83bd7079b5d32a56631e7e3c8cee2e6830703
/
.
/
JSTests
/
es6
/
RegExp_y_and_u_flags_u_flag.js
blob: 089393403ea610aa321ba44d1c450983bb95ae91 [
file
] [
log
] [
blame
]
function
test
()
{
return
"𠮷"
.
match
(
/^.$/
u
)[
0
].
length
===
2
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);