+**Application** - There were a few places that I made assumptions, based on interpreting the requirements and on my own logic. The first was in defining the `init` function for the `todoList`. The requirements for this were to "Initializes the collection with `n` number of `todo` objects". In my interpretation of that requirement, I created a function that takes two arguments: (`n`, `objArr`). I normally would have only defined this function with the array of todo objects and used the length of that as `n`, but I was trying to match the language of the requirement. The second assumption is that I allow for empty string descriptions. I didn't see a description as a necessary component for the todo. Finally, I realize now as I'm writing this up that I used a factory function for creating todo objects and would have been nicer to stick with OLOO pattern I used for the `todoList` and `todoManager`. I have run out of time to make that change before submission.
0 commit comments