JavaScript hash lookups

Being a lazy programmer, I use hash look ups all the time so my code is tinier. var insteadOfCaseStatement = { doThis: () => {}, doThat: () => {}, doTheOther: () => {} }; // then »