jsdoctest
jsdoctest copied to clipboard
Add support for multiline results #35
Closes #35.
Example usage:
/**
* @example
* subtract(1, 2)
* // => {
* // => normal: -1,
* // => reverse: 1
* // => }
*/
function subtract(x, y) {
return {
normal: x - y,
reverse: y - x
};
}