3 ms·
You're right, it's easy in strict mode. I hadn't realized this before! In sloppy mode, there's function.arguments. You can walk the stack to find the damned
by pizlonator 10y ago
You're right, it's easy in strict mode. I hadn't realized this before!
In sloppy mode, there's function.arguments. You can walk the stack to find the damned function instance.
- samth 10y agoIn that case, the only identity has to come via function.arguments. Could you therefore allocate the identity lazily, since there's nothing else to compare to?
- pizlonator 10y agoYes, you could. I want to implement this eventually.