5 lines
82 B
ChaiScript
5 lines
82 B
ChaiScript
auto x = [1, 2, 3, 4]
|
|
auto r = range(x)
|
|
r.pop_front()
|
|
assert_equal(2, r.front());
|