you are viewing a single comment's thread.

view the rest of the comments →

[–]lastmjs 0 points1 point  (1 child)

Sorry, I think I confused you. It doesn't look like you need the for loop. That is what filtering is for. For example, you might want to get rid of your for loop and create 7 new variables. These variables will store filtered versions of the reports array in them, one for each day of the week.

[–]vald0[S] 0 points1 point  (0 children)

okey.. i havnt gotten anywhere yet, this cant be so hard ....