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