I wanted to wrap all of my library functions with a logging utility. However, as JavaScript functions can also be used as constructors, I ra...