mirror of https://github.com/lukechilds/node.git
Browse Source
Hopefully clarify the behaviour of `buffer.indexOf()` and `buffer.includes()` for numbers in that they will be truncated to uint8s. Add tests for that behaviour. Fixes: https://github.com/nodejs/node/issues/7591 PR-URL: https://github.com/nodejs/node/pull/7611 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>v6.x
Anna Henningsen
9 years ago
committed by
Evan Lucas
3 changed files with 36 additions and 2 deletions
Loading…
Reference in new issue