I am wondering if there is a neat way with ES6 to loop trough a given number of times, without looping trough an array, since I just want to give the number of times the loop should go?
E.g. if I provide a prop that says I should have 5 rows in a table.