2 ms·
What is wrong with the following function The implementation is wrong: you're using Object when you want to use Map. Object is not suitable for this, and seems
by dchest 11y ago
What is wrong with the following function
The implementation is wrong: you're using Object when you want to use Map. Object is not suitable for this, and seems like you know it, and it's in language specs.
- amelius 11y agoYes, I stated beforehand that the implementation is wrong. My point is that it is not obvious from the implementation (and certainly not for beginners).