Skip to content
This repository was archived by the owner on Jul 23, 2021. It is now read-only.
This repository was archived by the owner on Jul 23, 2021. It is now read-only.

Map constructor ignores symbols #149

Open
@Methuselah96

Description

@Methuselah96

From @tolmasky on Tue, 03 Sep 2019 20:17:07 GMT

Map({ [MySymbol]: 5 }) generates an empty map despite Map([[MySymbol, 5]]) generating a single item Map. I imagine Map uses Object.keys on object argument instead of a combination of Object.keys and Object.getOwnPropertySymbols.

Copied from original issue: immutable-js#1731

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions