I was going through a typescript code (with Angular 2) on website and I found following :
let episodesCopy = JSON.parse(JSON.stringify(this.episodes))
this.episodes=[...episodesCopy,this.otherEpisodes.pop()];
I want to understand whether operator ...
in ...episodesCopy
is a typescript operator or a javascript operator? and what exactly it does?