quickjs icon indicating copy to clipboard operation
quickjs copied to clipboard

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

Open Epxir opened this issue 1 year ago • 1 comments

but it can be found in node_moudules

Epxir avatar Mar 25 '24 13:03 Epxir

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?

qwenger avatar Mar 25 '24 20:03 qwenger