jay icon indicating copy to clipboard operation
jay copied to clipboard

Evaluating `new Promise` crashes the program

Open chocolateboy opened this issue 5 years ago • 0 comments

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)

chocolateboy avatar Nov 04 '19 16:11 chocolateboy