nit: `indexOf() == -1` is more common than `indexOf() < 0`