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