array-mumu 0.2.0-rc.5

Array tools plugin for the Mumu ecosystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
extend("test")
extend("array")

describe("array:reverse", () => {
  it("reverses int array", () => {
    expect_equal(array:reverse([1,2,3]), [3,2,1])
  })
  it("reverses MixedArray", () => {
    expect_equal(array:reverse(["a",1,"b"]), ["b",1,"a"])
  })
})