Sign in
webkit
/
WebKit
/
942f1c55789c2d11f989cfa1840f51c0777b0784
/
.
/
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
();