Course · Section 10: A Closer Look at Functions · Lecture 144: Closures
Implement `onceResults(values)` that wraps a function so it returns its argument on the first call and `null` afterwards, applying it to each value and returning the results.
+ 1 hidden test run on Submit.
A captured boolean lets the wrapper return its argument on the first call and null on every later one.
Run your code to see results.