The standard Javascript doesn't have a built-in function to generate ranges. Several javascript frameworks add support for such features, including Prototype.js.
If you'd like to double-check, the definitive resource is the ECMA-262 Standard.
Miky Dinescu
2010-10-09 02:53:23