Sign in
webkit
/
WebKit
/
bfb9668e3c3137e9b0ea6a60e7740834675a80ad
/
.
/
JSTests
/
es6
/
RegExp_y_and_u_flags_u_flag.js
blob: 089393403ea610aa321ba44d1c450983bb95ae91 [
file
] [
log
] [
blame
]
ggaren@apple.com
961dc37
2015-09-04 02:39:20 +0000
[
diff
] [
blame
]
1
function
test
()
{
2
3
return
"𠮷"
.
match
(
/^.$/
u
)[
0
].
length
===
2
;
4
5
}
6
7
if
(!
test
())
8
throw
new
Error
(
"Test failed"
);
9