documentation/test/fixture/inline-link.input.js
2016-05-20 16:49:16 -04:00

21 lines
488 B
JavaScript

/**
* Adds one to a number
* @param {number} a the input
* @returns {number} the output
*/
function addOne(a) {
return a + 1;
}
/**
* This function returns the number one. Internally, this uses
* {@link addOne} to do the math. This demonstrates
* {@link https://en.wikipedia.org/wiki/Addition Addition}
* and {@link https://en.wikipedia.org/wiki/Addition}
* @param {number} a the input
* @returns {number} numberone
*/
module.exports = function (a) {
return addOne(a);
};