From e5fa0928e85af8d8daa1581e3a2a04502758cb2b Mon Sep 17 00:00:00 2001 From: tjcrowder Date: Thu, 10 Sep 2009 16:17:35 +0100 Subject: [PATCH] doc: Fleshed out Number#abs slightly. --- src/lang/number.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lang/number.js b/src/lang/number.js index 3c4a0aa..6825b84 100644 --- a/src/lang/number.js +++ b/src/lang/number.js @@ -70,7 +70,8 @@ Object.extend(Number.prototype, (function() { /** * Number#abs() -> Number * - * Returns the absolute value of the number. + * Returns the absolute value of the number. Convenience method that simply + * calls `Math.abs` on this instance and returns the result. **/ function abs() { return Math.abs(this);