Adding custom properties to a function
First of all, it’s important to realise that standard function properties (arguments, name, caller & length) cannot be overwritten. So, forget about adding a property with that name. Adding your own custom properties to a function can be done in different ways that should work in every browser. Adding your own custom properties to a … Read more