Write a function named extractElementsBetweenPositions that receives 3 parameters:
numbersnmand returns a new Array containing all elements that have their position between n and m (both included).
NOTE: there's no guarantee that n is lower than m.
numbers
=n
=m
=Unlock all functions
The first 10 functions are free. Get lifetime access to all 100 with a one-time payment — no subscription.
Upgrade to Pro