nodejs/llnode

Improved message for inspection of empty objects

Offen

#253 geöffnet am 13.12.2018

 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)C++ (101 Forks)github user discovery
enhancementgood first issue

Repository-Metriken

Stars
 (1.167 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Right now, when you try to inspect an empty object, this is what you see:

(llnode) v8 i 0x000038e4d66492e1
0x000038e4d66492e1:<Object: Object >

This is a bit confusing, upon further inspection it looks like 0x000038e4d66492e1 is an empty object, {}. A more user friendly message could be very helpful.

PS. Big thanks to all the contributors on this project. Has been a lifesaver on multiple occasions.

Contributor Guide