Skip to content

assocPath breaks if path includes digits #524

@eugenezastrogin

Description

@eugenezastrogin

assocPath breaks if string path starts with digit.
It seems that this line is to blame.

Minimal reproducible example (comparison with correct ramda behavior included): https://stackblitz.com/edit/js-e5ro2z?file=index.js

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