let dataset = function(){ obj = []; for (let i = 0; i < 10; i++) { obj.push({Name:'Name'+i, Link:'Link'+i}); } return obj; }