Alternative to if / else and switch: object literals in JavaScript
Complex conditions in JS have always been a source of redundant code. However, using object literals...
Tags: javascript, webpack