DEV Community

Discussion on: How would you refactor this JS function?

 
rkallan profile image
RRKallan

Goals for refactoring code: readability, understandability, maintainability, performance, usage of latest code style / programming / functions / methods