Skip to content

Array.forEach for objects passed from Python #1

@PetterS

Description

@PetterS

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions