doc: Fleshed out Number#abs slightly.
This commit is contained in:
parent
917f10b574
commit
e5fa0928e8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue