PetterS / quickjs

Thin Python wrapper of https://bellard.org/quickjs/
https://github.com/bellard/QuickJS
MIT License
175 stars 18 forks source link

_quickjs.JSException: ReferenceError: 'setTimeout' is not defined #142

Open Epxir opened 4 months ago

Epxir commented 4 months ago

but it can be found in node_moudules

qwenger commented 4 months ago

The quickjs core doesn't define setTimeout. It is defined in the os C extension but we don't bundle that in.

At some point we might add it or implement such APIs via Python.

What is node_modules and what's its relevance for quickjs?