Writing Cleaner JavaScript Functions — Small Rules That Save You for Years
A Real Problem I Faced
A few years ago, I opened one of my own old JavaScript projects.
And I couldn’t understand my own code.
I kept asking myself:
“Why did I write this function?”
“What does it even return?”
“Why is everything happening at once?...
vibhorgupta.hashnode.dev3 min read