Sadly, my PRO membership ran out yesterday so I don’t have access to that interactive article to look up the requirements for each function until I can subscribe again. If you post more details about what each of the last two functions is supposed to do (the sample input and output they provide), then I’d be happy to double check.
The generic errors can be tough when the code itself works in these articles
Edit: @eloncararr one thing I do notice is that you aren’t using
var when declaring your
newArr in each of the last two functions. That is likely it, but I can’t test it myself due to lack of access.