Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • So you need to filter out the objects from the arrays with same year and ISO. is that so? Commented Dec 4, 2015 at 7:34
  • building on the example in the answer you linked us to, edit the line if(second[i].id === id){ to if(second[i].iso3 === iso3 & second[i].year === year){ Try that. see if it helps? Commented Dec 4, 2015 at 7:35
  • @HarryBomrah yes, that's right. Commented Dec 4, 2015 at 7:53
  • @Irtza.QC That's what I tried already, which gave me a blank screen. Commented Dec 4, 2015 at 7:54