Skip to content

Latest commit

 

History

History
3 lines (3 loc) · 689 Bytes

File metadata and controls

3 lines (3 loc) · 689 Bytes
  • You should write comments to explain what your code does.They help make your code easier to read and understand.This can help you and others who read your code -MULTI-LINE COMM ENTS To write a comment that stretches over more than one line, you use a multi-line comment, starting with the /* characters and ending with the */ characters. Anything between these characters is not processed by the JavaScript interpreter. -SINGLE-LINE COMMENTS In a single-line comment, anything that follows the two forward slash characters I/ on that line will not be processed by the JavaScript interpreter. Singleline comments are often used for short descriptions of what the code is doing.