From 2a61c9f613f140d6c67f9dcc6eda7e56f58ffdf5 Mon Sep 17 00:00:00 2001 From: Jeff Williams Date: Sun, 16 Feb 2014 09:35:27 -0800 Subject: [PATCH] oops, forgot to commit a new test fixture (#574) --- test/fixtures/also2.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/fixtures/also2.js diff --git a/test/fixtures/also2.js b/test/fixtures/also2.js new file mode 100644 index 00000000..e3222171 --- /dev/null +++ b/test/fixtures/also2.js @@ -0,0 +1,14 @@ +/** @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; +};