issues
search
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: positions of expressions
#505
Closed
tyamagu2
closed
1 year ago
tyamagu2
commented
1 year ago
Fix typo in
parseConditionlExpression
Fix Idx1 of ConditionalExpression to point to Alternate.Idx1()
Fix Idx1 of SequenceExpression to point to Idx1 of the last Sequence element
Fix Idx0 of UnaryExpression to point to the beginning of Operand in case of postfix operator
Fix Idx1 of VariableExpression to point to the character immediately after Name if it does not have Initializer
parseConditionlExpression