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