Codewars, Javascript Challenge, The 'if' Function, Algorithm Solution

Lesson Summary

In this new series of javascript videos we are looking at the site codewars and breaking down and solving algorithm challenges. This specific challenge has us create an if/else function. This function would eliminate the need of constantly having to use an if else/if statement.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required