Problem 2666 · Easy

Allow One Function Call

A wrapper with a flag: the first call runs fn and later calls return undefined.

Open the interactive visualisation