Comments - JavaScript
javascript.info › commentsFeb 29, 2020 · Such comments allow us to understand the purpose of the function and use it the right way without looking in its code. By the way, many editors like WebStorm can understand them as well and use them to provide autocomplete and some automatic code-checking.