Sign in
webkit
/
WebKit
/
df3995184de03d0d69b0706c34e41c8cb255dc5d
/
.
/
LayoutTests
/
js
/
script-tests
/
for-of-crash.js
blob: 9a68a53b8a0711e8de1be368342ed37b941cb6b6 [
file
] [
log
] [
blame
]
description
(
"Tests that for-of iteration does not crashes."
);
function
foo
()
{
var
o
=
Object
.
create
(
Array
.
prototype
);
for
(
var
x of o
)
{
}
}
foo
();