It helps to comment your code so that you remember what it does. And JavaScript is easy to comment.

Add // in front of any text you’d like to comment out.

JavaScript will ignore all text on that line after the two slashes.