DEV Community

Discussion on: How would you refactor this JS function?

 
moopet profile image
Ben Sinclair

It is, and it's exactly how I've done it in all my other posts where it works fine. I'm not sure what's wrong with this one. Anyway, people can imagine what it's like with colours :)