function


How To Correctly Wrap A Javascript Function

Wrapping JavaScript functions lets you add common logic to functions you do not control, like native and external functions.