How can I skip an array element in .map?
.map
My code:
var sources = images.map(function (img) { if(img.src.split(\'.\').pop() === \"json
I use .forEach to iterate over , and push result to results array then use it, with this solution I will not loop over array twice
.forEach
results