more doc fixes
This commit is contained in:
@ -38,16 +38,10 @@ This function has comments that describe the purpose of the function:
|
||||
* @param x TODO
|
||||
*/
|
||||
export function square(x: number) : number {
|
||||
let result: number
|
||||
return x * x
|
||||
return result
|
||||
}
|
||||
```
|
||||
|
||||
### Formatting
|
||||
|
||||
Use [markdown syntax](/js/markdown) to format your comments (for example, **bold** and *italic* formatting).
|
||||
|
||||
### Commenting out code
|
||||
|
||||
During the debugging process, you may want to comment out a section of your code so that it doesn't run.
|
||||
|
Reference in New Issue
Block a user