
JSJ 474: Things JavaScript Developers Should Know, Part 1
JavaScript Jabber
00:00
Using Map for Maps Is a Great Tool for Debugging
Map is supported everywhere. You don't need any transpilation or anything like that in order to use map. The keys can be her object references. They don't need to be strings. But if you use an object ad jumps an object as a map, then the key has to be either,. It needs to be either a string or a symbol. And that really introduces a limitation. Sometimes it's really useful to be able to map one object into anotherobject without having to modify the original object by introducing some sort of an artificial a key value on it. Tat, you t no hash value on it, or whatever, in order to using that as the map. So being able
Play episode from 25:38
Transcript


