Skip to content

Full JavaScript: promises are unpacked automatically by REPL #1536

Open
@martin-henz

Description

@martin-henz

When a Full JavaScript program evaluates to a promise, it is automatically unpacked by the REPL.

Screenshot 2024-02-15 at 9 44 11 AM

The display function correctly displays the promise object in orange. The REPL should also display the promise object.

The program:

let promise = new Promise(
    (resolve, reject) => resolve("done"));
promise;

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workinggood first issueEasy issues to get your feet wetminorless important than important but more than nice-to-have

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions