nodejs/llnode

Improved message for inspection of empty objects

Aperta

#253 aperta il 13 dic 2018

 (0 commenti) (1 reazione) (0 assegnatari)C++ (101 fork)github user discovery
enhancementgood first issue

Metriche repository

Star
 (1167 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor