I’ve tried different ways but it keeps saying there’s a problem with the drop() method that I tried to use in the dropWhile() method using this.drop(). I’m confused about what I am to do in this section I don’t understand what this method does. I even tried following the directions in the implement _.dropWhile() part but it still gives an error like - arr.slice() is not a function. I’ve also searched to see if there are any solutions on the forum but there is none.
Then that is what to investigate, isn’t it? That’s the way forward. You’ll need to start by figuring out what is happening differently from what should happen. If this is how it is described:
Then that tells you a lot! You’ll have to consider whether it’s supposed to be a function, in which case arr probably doesn’t refer to an arr at all, or you overwrote that attribute - or if it’s not supposed to be a function, then you shouldn’t be calling it.