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: array writes #454

Closed stevenh closed 1 year ago

stevenh commented 1 year ago

Fix array writes not being persisted by passing in writeable reflect.Value when available instead of .Interface() which looses that property.

Also:

Fixes #386