IteratorClose on spread expression

Gary Guo nbdd0121 at
Tue Jun 23 12:58:40 UTC 2015

To me it seems that spread expression will not call IteratorClose (neither in ArrayLiteral nor in Argument List), but IteratorClose is called in other places in the spec where iterators are used, ex. for-of, destructuring, builtin functions). Is this intended or this is a bug in the spec?
Gary Guo 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list