3 ms·
That is a great explanation and after looking at the source code and reading the example more closely that is indeed what appears to happen. I do think that, al
by tjallingt 10y ago
That is a great explanation and after looking at the source code and reading the example more closely that is indeed what appears to happen.
I do think that, albeit very clever, it's a confusing pattern though...
- emn13 10y agoAnd too tricky - assigning to arbitrary properties on a DOM object can have arbitrary side effects if ever you happen to overload a predefined property (on any browser).