Replacing switch statements with Object literals Post navigationPrevious post: Replacing switch statements with Object literals