Skip to content

Objects are shown inconsistently #26

Description

@compilersEllie
let a = {};
a;

Shows [Object object]

let a = {foo: 3};
a;

Shows { foo: 3, }

It would be worth considering showing {} for the empty object case (with some annotation if this is unclear).

Also slight nit: The trailing inner comma probably should not be there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions