`indexOf` doesn't take a negative argument.  From [the ES5 spec](http://es5.github.io/#x15.5.4.7), start is `min(max(pos, 0), len)`, which means that passing `-suffix.length` is equivalent to passing `0`.