diff --git a/lodash.js b/lodash.js index b862ae673..2a0b9bd27 100644 --- a/lodash.js +++ b/lodash.js @@ -3277,6 +3277,12 @@ othIsObj = othTag == objectTag, isSameTag = objTag == othTag; + if (isSameTag && isBuffer(object)) { + if (!isBuffer(other)) { + return false; + } + objIsArr = true; + } if (isSameTag && !objIsObj) { stack || (stack = new Stack); return (objIsArr || isTypedArray(object))