how to use for loop in webix

for example, how to use for loop to get the following result

webix.ui({
type:“line”,
container:“testA”,
rows: [
{ template:“Row 1”},
{ template:“Row 2”},
{ template:“Row 3”},
{ template:“Row 4”},
{ template:“Row 5”}
]
});

Just use a JavaScript for; there’s nothing magic you have to do for Webix.