Update jsdoc.md (#1677)
This commit is contained in:
parent
dcf31435ab
commit
028c578bc1
4
jsdoc.md
4
jsdoc.md
|
@ -13,6 +13,8 @@ weight: -1
|
|||
* This is a function.
|
||||
*
|
||||
* @param {string} n - A string param
|
||||
* @param {string} [o] - A optional string param
|
||||
* @param {string} [d=DefaultValue] - A optional string param
|
||||
* @return {string} A good string
|
||||
*
|
||||
* @example
|
||||
|
@ -20,7 +22,7 @@ weight: -1
|
|||
* foo('hello')
|
||||
*/
|
||||
|
||||
function foo(n) {
|
||||
function foo(n, o, d) {
|
||||
return n
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue