The Todo list
- Create an array of objects, where each object describes a task and has properties for
the
description
(a string),priority
(a string), and whether or not it'sdone
(boolean) - Iterate (loop) through the array of tasks and output the task using an if/else statement to change the output depending on whether it's done or not. If it's done, log a string like '[X] Sleep (high)', and if not, log a string like '[ ] Sleep (high)'