
Things JavaScript Developers Should Know, Part 2 - JSJ 485
JavaScript Jabber
00:00
The Use Case for Functions?
There is a very clearly identifiable case. If you are doing event handlers, and you want to know what handlers o function has been assiged to then you would want to look it up by function. So that's the use case for functions? No, but that's a good one. You're absolutely correct. But they took an interesting step forward with the introduction of a weak map. And that's how you can simulate, or or emulate the existencea ma type object when when you don't have it in your system.
Play episode from 43:12
Transcript


