Intermediate Algorithm Scripting - Seek and Destroy

hi, i tried solving this challenge using a currying function but couldn’t. I’m curious, can anybody please solve this using currying. I will be happy to learn from your code

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Challenge: Intermediate Algorithm Scripting - Seek and Destroy

Link to the challenge:

it was so bad i can’t recall but i tried to make the destroyer function return a function that takes the rest parameter(…arg). From that point i couldn’t make any sense

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.