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

Input is always awaited, even when not prepended by await #17

Open
rsify opened this issue Aug 8, 2019 · 1 comment
Open

Input is always awaited, even when not prepended by await #17

rsify opened this issue Aug 8, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@rsify
Copy link
Owner

rsify commented Aug 8, 2019

Input:

Promise.resolve(5)

Output:

5

Expected:

Promise { 5 }
@rsify rsify added the bug Something isn't working label Aug 8, 2019
@NKjoep
Copy link

NKjoep commented Dec 16, 2019

It actually works for me:

~/  jay
node v10.15.3 npm@6.13.0 jay-repl@0.2.2
jay is getting plugin support! Help us make the API suit you: https://github.com/nikersify/jay/pull/18
> var b = Promise.resolve(5);
undefined
> b
5
> Promise.resolve(5);
5
>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants