def METHOD_NAME():
    a = ak.highlevel.ArrayBuilder()
    a.integer(1)
    a.integer(2)
    a.real(3.3)
    a.integer(4)
    a.integer(5)
    assert to_list(a.snapshot()) == [1.0, 2.0, 3.3, 4.0, 5.0]
    assert to_list(a) == [1.0, 2.0, 3.3, 4.0, 5.0]
    assert to_list(a.snapshot()[1:-1]) == [2.0, 3.3, 4.0]