nodejs/llnode

Improved message for inspection of empty objects

Aberta

#253 aberto em 13 de dez. de 2018

 (0 comentário) (1 reação) (0 responsável)C++ (101 forks)github user discovery
enhancementgood first issue

Métricas do repositório

Stars
 (1.167 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador