documentation/test/fixture/simple-two.input.js
2015-03-30 23:00:14 -04:00

14 lines
246 B
JavaScript

/**
* This function returns the number plus two.
*
* @param {Number} a the number
* @returns {Number} numbertwo
* @example
* var result = returnTwo(4);
* // result is 6
*/
function returnTwo(a) {
// this returns a + 2
return a + 2;
}