Skip to content

for objElement in obj is not compatible with some objects which are not iteratable but have forEach method #39

Description

@truongsinh

I am currently using JS Generator, which produced objects which are not iteratable, but have forEach as the method. My current workaound is to use toArray before rendering. However, it would be great if we can change the internal implementation to support forEach method.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions