copy-function

copy a function by wrapping it with a closure

Browse on unpkg