succ :: Number
succ() -> Number
Returns the successor of the current Number, as defined by current + 1. Used to make numbers compatible with ObjectRange.
Examples
(5).succ()
// -> 6
$A($R(1, 5)).join('')
// -> '12345'
Prototype API 1.5.0 - prototypejs.org