Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

util: change sparse arrays inspection format #11576

Closed
wants to merge 1 commit into from

Commits on Mar 7, 2017

  1. util: change sparse arrays inspection format

    Missing elements in sparse arrays used to be serialized to empty
    placeholders delimited with commas by util.inspect() and in some cases
    the result was a syntactically correct representation of a JavaScript
    array with shorter length than the original one. This commit implements
    @TimothyGu's suggestion to change the way util.inspect() formats sparse
    arrays to something similar to how Firefox shows them.
    
    Fixes: nodejs#11570
    aqrln committed Mar 7, 2017
    Configuration menu
    Copy the full SHA
    fb4fe0d View commit details
    Browse the repository at this point in the history