Object is the root object of all prototypes in JavaScript. Aside from providing the foundation for the JavaScript object model, Object imparts important methods such as toString() and assign(). Every ...
The result: A lot of if statements! And you have to type them all! Now imagine that the number of validations increases from 10 to 25 because 15 new use cases must be implemented in the next iteration ...