Sign in
webkit
/
WebKit
/
613de0057ae64eb418820c1bd3d79d1fa91ab720
/
.
/
JSTests
/
es6
/
spread_..._operator_with_generator_instances_in_arrays.js
blob: c386f27c9746f3bef6e7932fbb2d3e4533e396fb [
file
] [
log
] [
blame
]
function
test
()
{
var
iterable
=
(
function
*(){
yield
"b"
;
yield
"c"
;
yield
"d"
;
}());
return
[
"a"
,
...
iterable
,
"e"
][
3
]
===
"d"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);