def METHOD_NAME():
    a = ak.highlevel.ArrayBuilder()
    a.integer(10)
    a.integer(9)
    a.integer(8)
    a.integer(7)
    a.integer(6)
    assert to_list(a.snapshot()) == [10, 9, 8, 7, 6]
    assert to_list(a) == [10, 9, 8, 7, 6]
    assert to_list(a.snapshot()[1:-1]) == [9, 8, 7]