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