Commit 34a35919 authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

util: improve typed array formatting

Pretty-print typed arrays like regular arrays.  Speeds up formatting by
almost 300% because it no longer stringifies the array indices.

Pretty-print ArrayBuffer and DataView as well by including byteLength,
byteOffset and buffer properties in the stringified representation.

PR-URL: https://github.com/nodejs/node/pull/3793


Reviewed-By: default avatarTrevor Norris <trev.norris@gmail.com>
parent 8b57b312
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment