nodejs/llnode

Improved message for inspection of empty objects

Open

#253 opened on Dec 13, 2018

 (0 comments) (1 reaction) (0 assignees)C++ (101 forks)github user discovery
enhancementgood first issue

Repository metrics

Stars
 (1,167 stars)
PR merge metrics
 (No merged PRs in 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.

Contributor guide