Challenge: Write an Extension Function to Reverse an Array
Test your understanding of extension functions by solving the challenge given in this lesson.
We'll cover the following...
Problem statement
Implement an extension function, reverseArray()
, for the intArray
class, to reverse the order of a given array. ...