robertkrimen / otto

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

Fix Idx1 of ObjectLiteral and ArrayLiteral #504

Closed tyamagu2 closed 1 year ago

tyamagu2 commented 1 year ago

Idx1 should point to the first character immediately after the node, rather than the last character of the node.