imadev·May 29, 2022Replacing conditional statements with object literals.For future researchers, I’d like to offer my solution approach for these cases where I want to improve conditional statements, either…