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 timeout on empty loop (with unit test) #440

Closed tkp-richard closed 1 year ago

tkp-richard commented 2 years ago

added unit test for PR #374

rafaelcn commented 1 year ago

Quite interesting! If I were a maintainer, I would approve this PR.

stevenh commented 1 year ago

Thanks for the PR