Originally derived from es5-ext package. Memoization is best technique to save on memory or CPU cycles when we deal with repeated operations. For detailed insight see ...
debug exposes a function; simply pass this function the name of your module, and it will return a decorated version of console.error for you to pass debug statements ...