diff --git a/doc/api/buffer.md b/doc/api/buffer.md index ac2c1e1b6752f0..6d06ae9ddd21c9 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -631,8 +631,6 @@ console.log(`${str}: ${str.length} characters, ` + When `string` is a `Buffer`/[`DataView`]/[`TypedArray`]/[`ArrayBuffer`], the actual byte length is returned. -Otherwise, converts to `String` and returns the byte length of string. - ### Class Method: Buffer.compare(buf1, buf2)