When passing a Python array into duktape, Array.forEach does not work.
TypeError: undefined not callable (property 'forEach' of [object Object])
length and indexing with [] work as expected. I thought that forEach should be available since DUK_USE_ARRAY_BUILTIN is defined in the config header.
|
#define DUK_USE_ARRAY_BUILTIN |
When passing a Python array into duktape,
Array.forEachdoes not work.lengthand indexing with [] work as expected. I thought thatforEachshould be available sinceDUK_USE_ARRAY_BUILTINis defined in the config header.pyduktape2/vendor/duk_config.h
Line 2794 in 144d0f9