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