jsdoc/test/fixtures/also2.js
Jeff Williams 48e6c392d5 huge whitespace cleanup
- remove all trailing whitespace
- for consistency, replace all tabs with spaces
2014-03-03 07:43:01 -08:00

15 lines
360 B
JavaScript

/** @class */
function BowlingAlley() {
this._lanes = 0;
}
/**
* Add a lane to the bowling alley.
* @also
* Add the specified number of lanes to the bowling alley.
* @param {number} [lanes=1] - The number of lanes to add.
*/
BowlingAlley.prototype.addLanes = function addLanes(lanes) {
this._lanes += (typeof lanes === undefined) ? 1 : lanes;
};