Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full JavaScript: promises are unpacked automatically by REPL #1536

Open
martin-henz opened this issue Feb 15, 2024 · 0 comments
Open

Full JavaScript: promises are unpacked automatically by REPL #1536

martin-henz opened this issue Feb 15, 2024 · 0 comments
Labels
Bug Something isn't working good first issue Easy issues to get your feet wet minor less important than important but more than nice-to-have

Comments

@martin-henz
Copy link
Member

martin-henz commented Feb 15, 2024

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;
@martin-henz martin-henz added Bug Something isn't working minor less important than important but more than nice-to-have good first issue Easy issues to get your feet wet labels Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working good first issue Easy issues to get your feet wet minor less important than important but more than nice-to-have
Projects
None yet
Development

No branches or pull requests

1 participant