Course · Section 11: Working With Arrays · Lecture 156: Data Transformations: map, filter, reduce
Implement `positives(nums)` returning only the numbers greater than zero, using `filter`.
+ 1 hidden test run on Submit.
filter with n > 0 returns a new array of the positive numbers.
Run your code to see results.