Create arrow function II

Create an arrow function func. The block code that already exists expects two parameters x and arr. Declare them when you create the function.
This exercise might look complicated at first glance, but you just have to apply what we have learnt about rest parameters and arrow functions.
Get a premium membership to access this content: