The function you've written only halves one value. But you need to calculate a discount for each rubber-duck price.

We'll write an anonymous function that loops through the prices array, calls halve to reduce each one, and then prints out the result.