Sign in
webkit
/
WebKit
/
d79f7faf1741e287395091ba9e177bbe8eb04d43
/
.
/
JSTests
/
es6
/
for..of_loops_with_astral_plane_strings.js
blob: 78d4116048da93c12c1f5eb1a9bdfc7610f28501 [
file
] [
log
] [
blame
]
function
test
()
{
var
str
=
""
;
for
(
var
item of
"𠮷𠮶"
)
str
+=
item
+
" "
;
return
str
===
"𠮷 𠮶 "
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);