Let <var>thisSize</var> be the number of elements in <var>O</var>.<var class="field">[[SetData]]</var>.</li><li>Let <var>index</var> be 0.</li><li>Repeat, while <var>index</var> &lt; <var>thisSize</var>,<ol><li>Let <var>e</var> be <var>O</var>.<var class="field">[[SetData]]</var>[<var>index</var>].</li><li>Set <var>index</var> to <var>index</var> + 1.</li><li>If <var>e</var> is not <code>empty</code>, then<ol><li>Let <var>testResult</var> be ToBoolean(? Call(<var>predicate</var>, <var>thisArg</var>, « <var