diff --git a/doc/api/buffer.markdown b/doc/api/buffer.markdown index ab7393b62a8eb1..9fd57040816447 100644 --- a/doc/api/buffer.markdown +++ b/doc/api/buffer.markdown @@ -208,9 +208,6 @@ Example: copy an ASCII string into a buffer, one byte at a time: // Node.js -Returns a boolean indicating whether `this` and `otherBuffer` have the same -bytes. - ### buf.compare(otherBuffer) * `otherBuffer` {Buffer} @@ -267,6 +264,8 @@ region in the same buffer * `otherBuffer` {Buffer} +Returns a boolean indicating whether `this` and `otherBuffer` have the same bytes. + ### buf.fill(value[, offset][, end]) * `value`