Skip to main content

One doc tagged with "comments"

View All Tags

Comments in JavaScript

The key to reducing unnecessary comments in your code is to write self-descriptive code. The way to achieve this is to replace a chunk of code with a function.