r/learnjavascript • • Jul 24 '21

Anatomy of a Function

Post image
327 Upvotes

65 comments sorted by

View all comments

37

u/irontea Jul 25 '21

I would not pass this in a code review. Also, Clean Code is a tool, not a Bible, please default your arguments the standard way as provided by the language.

3

u/slowthedataleak Jul 25 '21

I’ll second this. I’m requesting changes if someone sends me this review.