//@target: ES6 var iter: Iterable; var array = [...iter];