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