Skip to content

Sorting of keys in peo.p #20

@davidryan59

Description

@davidryan59

Object - String keys - Object.keys are in order of insertion
Object - Numeric keys - Object.keys are in increasing order of underlying numbers (e.g. if '3')
In Peo we're relying on this behaviour, however its not guaranteed.
Any way of fixing it? Need to insert a 'sort' somewhere?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions