lass="secnum">2.1</span> Set.prototype.filter( <var>callbackfn</var> [ , <var>thisArg</var> ] )</h1>
            <emu-import href="./set/prototype-filter.html"><p>When the <code>filter</code> method is called, the following steps are taken:</p><emu-alg><ol><li>Let <var>O</var> be the <emu-val>this</emu-val> value.</li><li>Perform ?&nbsp;RequireInternalSlot(<var>O</var>, <var class="field">[[SetData]]</var>).</li><li>If IsCallable(<var>callbackfn</var>) is <emu-val>false</emu-val>, throw a <emu-val>TypeError