jay icon indicating copy to clipboard operation
jay copied to clipboard

Input is always `await`ed, even when not prepended by `await`

Open rsify opened this issue 6 years ago • 1 comments

Input:

Promise.resolve(5)

Output:

5

Expected:

Promise { 5 }

rsify avatar Aug 08 '19 08:08 rsify

It actually works for me:

~/  jay
node v10.15.3 [email protected] [email protected]
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
>

NKjoep avatar Dec 16 '19 18:12 NKjoep