From dbd2bc7be98ac32f7258f4b2f5e5e4886ec2bc06 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 27 Jan 2016 15:30:08 +0100 Subject: [PATCH] fix comment --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 15d7c50..bbb2eff 100644 --- a/index.js +++ b/index.js @@ -413,8 +413,8 @@ function slowToString (encoding, start, end) { } } -// Even though this property is private, it shouldn't be removed because it is -// used by `is-buffer` to detect buffer instances in Safari 5-7. +// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect +// Buffer instances. Buffer.prototype._isBuffer = true Buffer.prototype.toString = function toString () { -- 2.34.1