@static

  • constructor
documentjs.tags.static  

Declares that [documentjs/tags/property @property] and [documentjs/tags/function @function] tags belong to the preceeding [documentjs/tags/function @constructor].

@prototype

/**
 * @constructor
 * Creates an Animal
 */
Animal = function(){ ... }
/** @prototype */
Animal.prototype = {
   /**
    * Eats another animal.
    */
    eat: function(animal){ ... }
}