Please sign in to comment.
util: add inspect suffix to BigInt64Array elements
This commit updates `util.inspect` to add an `n` suffix to BigInts that appear in BigInt64Arrays. BigInts are formatted with an `n` suffix in most cases, but this did not occur in BigInt64Arrays due to an apparent oversight where the implementation of `inspect` for typed arrays assumed that all typed array elements are numbers. PR-URL: #21499 Reviewed-By: Michaël Zasso <firstname.lastname@example.org> Reviewed-By: Gus Caplan <email@example.com> Reviewed-By: Ruben Bridgewater <firstname.lastname@example.org> Reviewed-By: Tiancheng "Timothy" Gu <email@example.com> Reviewed-By: Colin Ihrig <firstname.lastname@example.org> Reviewed-By: Benjamin Gruenbaum <email@example.com> Reviewed-By: James M Snell <firstname.lastname@example.org> Reviewed-By: Yuta Hiroto <email@example.com>
- Loading branch information...
Showing with 11 additions and 2 deletions.