js doc

Solutions on MaxInterview for js doc by the best coders in the world

showing results for - "js doc"
Magdalena
14 Jan 2020
1/**
2 * This is a function.
3 *
4 * @param {string} n - A string param
5 * @return {string} A good string
6 *
7 * @example
8 *
9 *     foo('hello')
10 */
11
12function foo(n) {
13  return n
14}
15