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