Expensive comparator. Use <code>i !== -1</code> instead.