Discuss key comparison somewhere? #231
hoclun-rigsep
started this conversation in
General
Replies: 1 comment
-
Most definitely. In fact, we've had issues opened in the past related to this topic. So, yes, most definitely, we should explain this better. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was thinking that there should be some mention of key equality in the relevant API docs, warning that key values should be primitives because
someMap.set([1,2],3).has([1,2])
is falsy, and then I started thinking, what if you did want to key on multiple properties? Should we give canonical advice how best to handle that?Beta Was this translation helpful? Give feedback.
All reactions