Skip to content

ReadableArray getMap pops the item out of the array. #8557

@SudoPlz

Description

@SudoPlz

Thus if we run a for loop to iterate through all the maps within a ReadableArray, our array is left empty.

Now I'm not aware of a way to clone a ReadableArray, so I think there should be away to access the children of a ReadableArray without deleting them afterwards.

Is this a bug or is it intended behaviour?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions