Possible Duplicate:
Does JavaScript have a range() equivalent?
Is there a way to declare a range in Javascript/jQuery like we do in Python?
Something like this:
x = range(1,10)
x = [1,2,3,4,5,6,7,8,9]
Thanks.
Possible Duplicate:
Does JavaScript have a range() equivalent?
Is there a way to declare a range in Javascript/jQuery like we do in Python?
Something like this:
x = range(1,10)
x = [1,2,3,4,5,6,7,8,9]
Thanks.