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