Kevin Powell - CommunityKP-C
Kevin Powell - Community15mo ago
11 replies
snxxwyy

Object vs map

Hey, what are some situations where you’d use a map over an object? To me, they’re essentially the same thing with map’s keys not only being limited to strings, but personally, I don’t see a need to put any other data type as a key?

I’d appreciate some insight, thanks in advance
Was this page helpful?