robertkrimen / otto

A JavaScript interpreter in Go (golang)
http://godoc.org/github.com/robertkrimen/otto
MIT License
8.04k stars 584 forks source link

fix(ast): invalid idx1 for new expression #473

Closed stevenh closed 1 year ago

stevenh commented 1 year ago

Fix invalid Idx1() return for NewExpression when there are no parenthesis.