@return

  • constructor
documentjs.tags.return  

Describes a function's return value.

@return {TYPE} DESCRIPTION

/**
 * Capitalizes a string
 * @param {String} s the string to be lowercased.
 * @return {String} a string with the first character capitalized, 
 * and everything else lowercased
 */
capitalize: function( s ) { ... }

Parameters

  1. TYPE {TYPE-EXPRESSION}Optional

    The type of return value.

  2. DESCRIPTION {String}Optional

    The description of the return value.