Simplify if-else statements with Objects
If/else statements can prove very useful in performing conditional operations, yet, they usually...
Tags: javascript, beginners, tips