If the index is higher than array size + 1, should it pad the array with null values like javascript does?