doc: improve buf.indexOf() documentation style
- Prefer "an argument is coerced to" over "an argument coerces to".
- Reduce informal tone.
- Wrap at 80 chars.
- Wrap value in backticks where appropriate for consistency.
Checklist
-
documentation is changed or added -
commit message follows commit guidelines