jay
jay copied to clipboard
Evaluating `new Promise` crashes the program
Entering the following causes jay to exit immediately (without an error):
p = new Promise(() => {})
It works fine in node's REPL:
p = new Promise(() => {}) // => Promise { <pending> }
Possibly Related
- https://github.com/nikersify/jay/issues/17
Environment
- jay: 0.2.2
- node: v12.13.0
- OS: Linux (Arch)