nodejs/llnode

Improved message for inspection of empty objects

Ouverte

#253 ouverte le 13 déc. 2018

 (0 commentaire) (1 réaction) (0 personne assignée)C++ (101 forks)github user discovery
enhancementgood first issue

Métriques du dépôt

Stars
 (1 167 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur