Can someone tell me why my javascript output shows different when the only thing I changed was the variable name?
In your second loop you changed row to number instead of i.
row
number
i