extend("test")
extend("array")
describe("array:drop", () => {
it("drops n elements", () => {
expect_equal(array:drop(2, [1,2,3,4]), [3,4])
})
it("drops more than length to empty", () => {
expect_equal(array:drop(10, [1,2]), [])
})
it("partial usage", () => {
d2 = array:drop(2)
expect_equal(d2([7,8,9]), [9])
})
})