Using comments helps to understand code and its purpose. In JavaScript, there are two syntaxes dedicated to comments. Best Practices For Using Comments In JavaScript How to Use Comments Efficiently in JavaScript Nipuni Arunodi Follow Sep 14 · 6 min read using comments in JavaScript.