A simple refactoring
Refactoring is the act of taking a function, a method, a class or an entire application and modify it...
Tags: refactoring, javascript