Use to add a single line comment, or comment out a single line of code.
Syntax
// Comment text.Example
//This is my comment about a function.本文档基于 CC协议(Creative Commons Share-Alike License)发布,是developer.mozilla.com, www.mozref.com和www.aptana.com共同劳动的成果。