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>v4.x
committed by
Myles Borins
2 changed files with 18 additions and 1 deletions
Loading…
Reference in new issue