diff --git a/doc/api/buffer.markdown b/doc/api/buffer.markdown index 5f52acd85c83fe..618ec7bdd75d8c 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`