Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buffer: refactor Buffer.prototype.inspect()
Replace toString().match().join() with toString().replace().trim(). This enables the elimination of a length check becuase replace() will return empty string if Buffer is empty whereas match() returns null.
- Loading branch information