You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.
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.
From @tolmasky on Tue, 03 Sep 2019 20:17:07 GMT
Map({ [MySymbol]: 5 })
generates an empty map despiteMap([[MySymbol, 5]])
generating a single itemMap
. I imagineMap
usesObject.keys
on object argument instead of a combination ofObject.keys
andObject.getOwnPropertySymbols
.Copied from original issue: immutable-js#1731
The text was updated successfully, but these errors were encountered: