DEV Community

Discussion on: A New Coding Style for Switch Statements in JavaScript/TypeScript

 
nebrius profile image
Bryan Hughes

I think defining using a let is the harder to read and maintain option than my option, and going that path increases complexity TBH.