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