34,333
edits
Changes
→Single Line Comments
</pre>
In the above example everything after the // marker is considered a comment and, therefore, ignored by the JavaScript interpreter. This is provides an ideal method for palcing placing comments on the same line of script that descript describe what that particular script line does.
== Multi-line Comments ==