Nit: `);` on new line if it doesn't fit. And maybe `found = indexOf >= 0` (it makes me want it to be a bool)