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: simplify constructor retrieval in inspect() #36466

Merged
merged 1 commit into from Dec 14, 2020

Commits on Dec 14, 2020

  1. util: simplify constructor retrieval in inspect()

    Instead of looping through a list of typed arrays, use
    TypedArrayPrototypeGetSymbolToStringTag.
    
    PR-URL: nodejs#36466
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott committed Dec 14, 2020
    Copy the full SHA
    f43d1ca View commit details
    Browse the repository at this point in the history