Skip to content

doc: clarify Buffer.indexOf() and lastIndexOf()

Rodrigo Muino Tomonari requested to merge github/fork/dcposch/master into master
Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc

Description of change

Clarifies the buffer documentation to explain how type coercion works for indexOf() and lastIndexOf().

Fixes #9801 (closed)

@vsemozhetbyt @silverwind

Merge request reports

Loading