princejwesley / Mancy

>_ Electron based NodeJS REPL :see_no_evil:
http://mancy-re.pl
MIT License
2.63k stars 133 forks source link

await does not work #182

Open vmarkovtsev opened 5 years ago

vmarkovtsev commented 5 years ago

My node version is v10.15.3. I run await func_which_returns_a_promise() and get

(async function() { let result = (await func_which_returns_a_promise());  return result; }())
SyntaxError: Unexpected token function

and function is indeed underlined with red in the UI.