mirror of https://github.com/lukechilds/node.git
Browse Source
Currently the signature is indexOf(val[, byteOffset[, encoding]]) Instead allow indexOf(val[, byteOffset][, encoding]) so that byteOffset does not need to be passed. PR-URL: https://github.com/nodejs/node/pull/4803 Reviewed-By: James M Snell <jasnell@gmail.com>v5.x
Trevor Norris
9 years ago
committed by
Rod Vagg
2 changed files with 11 additions and 2 deletions
Loading…
Reference in new issue