Refs: https://github.com/nodejs/node/issues/31399 Audit src/node_buffer.cc, lib/buffer.js and lib/internal/buffer.js - there are places where assumptions are made about the type of indices, e.g.: https://github.com/nodejs/node/blob/3ff2aeceba88928f1aa33fe3ff1cc9bf84da739b/src/node_buffer.cc#L593-L596 I suspect most C++ code can be switched over to `ParseArrayIndex()`.
Activity
src: change Fill() to use ParseArrayIndex()
src: change Fill() to use ParseArrayIndex()
src: change Fill() to use ParseArrayIndex()
src: change Fill() to use ParseArrayIndex()