Friday, September 30, 2016

JavaScript: Avoiding IF ELSE statements


Often time we see a lot of IF ELSE statements in JavaScript, which will be cumbersome and hard to understand. Let's see how we can avoid IF ELSE statements to make our code much cleaner.