Interview Question
Front End Engineer Interview
-
MetaWhat are the advantages of using ES6 maps over objects? What about using ES6 sets over arrays?
Interview Answer
1 Answer
▲
1
▼
Maps can take any type as a key. In objects, the key can only be a string or a symbol.
evilive on
Add Answers or Comments
To comment on this, Sign In or Sign Up.