Files
node/lib
Alexander Martin 67e181986a buffer: add includes() for parity with TypedArray
Add Buffer#includes() by wrapping an indexOf and performing a strict
equals check to -1.

The includes method takes the search value, byteOffset, and encoding as
arguments.

The test is a modified version of the indexOf test.

Fixes: https://github.com/nodejs/node/issues/3552
PR-URL: https://github.com/nodejs/node/pull/3567
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2015-12-10 13:41:40 -07:00
..
2015-10-14 12:16:18 -04:00
2015-12-04 14:42:13 +11:00
2015-10-08 17:32:08 -07:00
2015-12-02 11:05:11 -08:00
2015-06-11 20:24:44 +02:00
2015-12-02 11:16:21 -05:00
2015-01-31 23:47:29 -05:00