How to write bulletproof function wrappers in JavaScript | Heykuki News