Please sign in to comment.
buffer: remove unnecessary argument check
In Buffer.prototype.compare, the first check makes sure that target is an instance of Buffer. The value cannot be falsy after that so we can safely get its length. PR-URL: #8552 Reviewed-By: Rich Trott <email@example.com> Reviewed-By: Сковорода Никита Андреевич <firstname.lastname@example.org>
- Loading branch information...