Problem 2666 · Easy
A wrapper with a flag: the first call runs fn and later calls return undefined.
Open the interactive visualisation