JavaScript examples: create array "days of the week" and task for each day.

Submitted by Anonymous (not verified) on Tue, 02/28/2017 - 22:55

I need a javascript example with two array which creates a output like this:

 

  • Monday
    • Go to office
    • Go to school
  • Tuesday
  • Wednesday
  • ...
  • Saturday
    • Go to swimming pool
    • Clean the room
  • Tuesday
  • Sunday

Any idea?