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