continuation
continuation copied to clipboard
new statement is mistakenly parsed in cont()'d block
foo(cont());
d = (new a.b).c();
and the result is
foo(function (arguments) {
d = new a.b().c();
}.bind(this, arguments));
/* Generated by Continuation.js v0.1.7 */
Thanks. This is a bug of the parser esprima or the code generator escodegen.