12
Comments
  • 3
    for(let i=1;i<=array.length;i++){
    doStuffUsing(array["["+i+"]"]);
    }

    // Your wish is granted
  • 0
    @WIPocket and what happens in [0] ?
    You could give birth to the worst monster combination ever 😂
  • 0
    @Aalleexx ObjectOutOfBoundsExeption xD
  • 2
    Why not though? Yes I get why they start at zero but I would prefer to access the first element with 1 and the last with xx.lenght.
Add Comment