ChaiScript/unittests/range.chai

5 lines
69 B
ChaiScript

var x = [1, 2, 3, 4]
var r = range(x)
r.pop_front()
print(r.front())