mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
12 lines
213 B
JavaScript
12 lines
213 B
JavaScript
/**
|
|
* Increment a number by 1.
|
|
*
|
|
* @param {number} n - The number to increment.
|
|
*/
|
|
var increment = n => n + 1;
|
|
|
|
/**
|
|
* Print a value to the console.
|
|
*/
|
|
var print = (/** @type {*} */ val) => console.log(val);
|