diff options
-rw-r--r-- | doc/api/buffer.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/buffer.md b/doc/api/buffer.md index bd982dfaba..f0104207c5 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -815,7 +815,7 @@ console.log(buf1.compare(buf1)); console.log(buf1.compare(buf2)); // Prints: -1 console.log(buf1.compare(buf3)); - // Prints: 1 + // Prints: -1 console.log(buf2.compare(buf1)); // Prints: 1 console.log(buf2.compare(buf3)); |