It is very common to use loops on our codes, when we work with big amounts of data.
And in most time, this data come from an array. So, we make something like this:
var data = [ { id: 1, title: 'Title 1'…