Affected URL(s)
https://nodejs.org/api/buffer.html
Description of the problem
What happens when Buffer’s methods are called with the fill argument that is empty (a string, Buffer, array, et cetera.), has not been documented in Node.js 19.2.0’s documentation.
I’ve confirmed that Buffer.alloc(…, "", "UTF-8") and buffer.fill("") fill the Buffer with zero, which is expected but undocumented behavior.
I’m not talking about the indexOf or lastIndexOf methods.