 tasks = [] tasks.push(task) activity.thingsDone = tasks  activities.push(activity)  activity = {} activity.date = "00-00-0000" activity.time = "00:00" task = {} task.activity = "Walking" task.duration = "0h" tasks = [] tasks.push(task) activity.thingsDone = tasks  activities.push(activity)  