For example, instead of decorating a function using closure, we can simply use monkey patching to give the wrapper function access to the original function, as shown below.