There's a code written in javascript I have to re-use/modify and there's a line I don't understand:
var source, data = [];
for (var id in this.target.target.layerSources) {
source = this.target.target.layerSources[id];
data.push([id, source.title || id, source.url]); //I don't understand this line
}
I looked it up but I don't find any example/explanation.