Closed iPhatty closed 6 years ago
Its also the same for the deletetodo and marktodo. If you would like to know if they create a new one or not you can look at the MDN webdocs on the function and it will mention if it clones or not. Good stuff! 😀
..ooops.. I should have checked what issues are already made before adding a new one! #34
https://github.com/fac-14/teamcoolerweek-2/blob/4b588fb49da82ef7d3bdaea8458d8c7c54c80362/logic.js#L28-L29
Great to see you using some of the array methods you came across this week. Just note that concat also creates a new copy so it is not necessary to make use of the clonearray function. Nice one 😎