How do I create an array in javascript whose index starts from 1

Posted by detj on Stack Overflow See other posts from Stack Overflow or by detj
Published on 2010-05-13T12:24:36Z Indexed on 2010/05/13 12:34 UTC
Read the original article Hit count: 197

Filed under:
|

By default index of every javascript array starts from 0. I want to create an array whose index starts from 1. I know, must be very trivial...thnx for ur help

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about arrays