<p>Given a function <code>fn</code>, return a new function that is identical to the original function except that it ensures <code>fn</code> is called at most once.</p>
<ul>
<li>The first time the returned function is called, it should return the same result as <code>fn</code>.</li>
<li>Every subsequent time it is called, it should return <code>undefined</code>.</li>
</ul>
<p> </p>
<p><strongclass="example">Example 1:</strong></p>
<pre>
<strong>Input:</strong> fn = (a,b,c) => (a + b + c), calls = [[1,2,3],[2,3,6]]