An alternative to the Javascript switch statement
This article expands on Todd Motto's idea of Replacing switch statements with Object literals. A very...
Tags: javascript, designpatterns, coding, programming