/** * Gets a new array consisting of a combination of two or more arrays. * @syntax array1.concat([item1, [item2[, ...[, itemN]]]]) * @arguments {Object} [0-n] Additional items to add to the end of this array. Optional. * @return {Array} The new combined array. */ Array.prototype.concat = function () { }
/** * (the ECMADoc comment comes here) */
/** * This line is the summary for the code block I am documenting. * Starting here from the second line, is the remarks section for the * code block I am documenting. This section can be as long as required. * @author Igor Francé */ function MyFunction() { }
/** * An intrinsic global object that stores information about the results of regular expression pattern matches. * Available flags, which may be combined, are: * <ul> * <li><b>g</b> (global search for all occurrences of pattern)</li> * <li><b>i</b> (ignore case)</li> * <li><b>m</b> (multiline search)</li> * </ul> * @param {String} pattern The regular expression pattern to use. * @param {String} flags Combination of available flags. * @constructor */ function RegExp(pattern, flags) { }
<c>...</c>
<code>...</code>
<see type="MyClass.method1"/>
{@see MyClass.method1