Declare your iterator i
and assign it the value of count
, then use the boolean false
for your condition and iteration statements.
for(let i = count; i=false; i–) {
rows.push(padRow(i,count));
} it is not working. Please tell me what should I do?