Sign in
webkit
/
WebKit
/
6ada3cd2e0d9b9e450b5e021e0e5526f55f59df8
/
.
/
JSTests
/
stress
/
regress-185896.js
blob: 7742ee794b3c9ee92b5b7e8837c8a2aa6bc0f9b8 [
file
] [
log
] [
blame
]
var
exception
;
function
*
items
()
{
yield
{
};
yield
*
42
;
}
try
{
for
(
let i of items
())
{
}
}
catch
(
e
)
{
exception
=
e
;
}
if
(
exception
!=
"TypeError: undefined is not a function (near '...yield* 42...')"
)
throw
FAILED
;