How to write bulletproof function wrappers in JavaScript
blog.getsentry.com