[ { "name": "array.length", "contents": [ "数组", {"type": "inputMortise","default": "","tenonTypes": []}, "的长度" ], "class": "array.Length", "extend": "$Expression" }, { "name": "array.concat", "contents": [ "合并多个数组", {"type": "inputMortise","default": "","tenonTypes": []}, {"type": "inputMortise","default": "","tenonTypes": []} ], "class": "array.oncat", "extend": "$Expression" }, { "name": "array.join", "contents": [ "合并数组", {"type": "inputMortise","default": "","tenonTypes": []}, "为字符串" ], "class": "array.Join", "extend": "$Expression" }, { "name": "array.push", "contents": [ "在数组", {"type": "inputMortise","default": "","tenonTypes": []}, "的末尾添加元素", {"type": "inputMortise","default": "","tenonTypes": []} ], "class": "array.Push", "extend": "$Operation" }, { "name": "array.pop", "contents": [ "从数组", {"type": "inputMortise","default": "","tenonTypes": []}, "中返回并移除最后一个元素" ], "class": "array.Pop", "extend": "$Expression" }, { "name": "array.unshift", "contents": [ "在数组", {"type": "inputMortise","default": "","tenonTypes": []}, "的开头添加元素", {"type": "inputMortise","default": "","tenonTypes": []} ], "class": "array.Unshift", "extend": "$Operation" }, { "name": "array.shift", "contents": [ "从数组", {"type": "inputMortise","default": "","tenonTypes": []}, "中返回并移除第一个元素" ], "class": "array.Shift", "extend": "$Expression" }, { "name": "array.slice", "contents": [ "截取数组", {"type": "inputMortise","default": "","tenonTypes": []}, "从位置", {"type": "inputMortise","default": "","tenonTypes": []}, "到位置", {"type": "inputMortise","default": "","tenonTypes": []} ], "class": "array.Slice", "extend": "$Expression" }, { "name": "array.splice", "contents": [ "数组", {"type": "inputMortise","default": "","tenonTypes": []}, "从位置", {"type": "inputMortise","default": "","tenonTypes": []}, "删除", {"type": "inputMortise","default": "","tenonTypes": []}, "个元素,添加新元素", {"type": "inputMortise","default": "","tenonTypes": []} ], "class": "array.Splice", "extend": "$Expression" }, { "name": "array.reverse", "contents": [ "将数组", {"type": "inputMortise","default": "","tenonTypes": []}, "颠倒位置" ], "class": "array.Reverse", "extend": "$Operation" }, { "name": "array.sort", "contents": [ "对数组", {"type": "inputMortise","default": "","tenonTypes": []}, "排序, 元素1", {"type": "input","default": "a"}, "元素2", {"type": "input","default": "b"}, ",绑定对象", {"type": "mortise", "tenonTypes": []} ], "class": "array.Sort", "extend": "$Around" }, { "name": "array.indexOf", "contents": [ "数组", {"type": "inputMortise","default": "","tenonTypes": []}, "中元素", {"type": "inputMortise","default": "","tenonTypes": []}, "的索引" ], "class": "array.IndexOf", "extend": "$Expression" }, { "name": "array.lastIndexOf", "contents": [ "数组", {"type": "inputMortise","default": "","tenonTypes": []}, "中元素", {"type": "inputMortise","default": "","tenonTypes": []}, "的最后索引" ], "class": "array.LastIndexOf", "extend": "$Expression" }, { "name": "array.forEach", "contents": [ "遍历数组", {"type": "inputMortise","default": "","tenonTypes": []}, "值", {"type": "input","default": "v"}, "索引", {"type": "input","default": "i"}, "绑定对象", {"type": "mortise","default": "","tenonTypes": []} ], "class": "array.ForEach", "extend": "$Around" }, { "name": "array.map", "contents": [ "map", {"type": "inputMortise","default": "","tenonTypes": []}, "方法", {"type": "inputMortise","default": "","tenonTypes": []}, ",绑定对象", {"type": "mortise", "tenonTypes": []} ], "class": "array.Map", "extend": "$Expression" }, { "name": "array.filter", "contents": [ "过滤数组", {"type": "inputMortise","default": "","tenonTypes": []}, "方法", {"type": "inputMortise","default": "","tenonTypes": []}, ",绑定对象", {"type": "mortise", "tenonTypes": []} ], "class": "array.Filter", "extend": "$Expression" }, { "name": "array.every", "contents": [ "数组", {"type": "inputMortise","default": "","tenonTypes": []}, "的每个元素都满足方法", {"type": "inputMortise","default": "","tenonTypes": []}, ",绑定对象", {"type": "mortise", "tenonTypes": []} ], "class": "array.Every", "extend": "$Expression" }, { "name": "array.some", "contents": [ "数组", {"type": "inputMortise","default": "","tenonTypes": []}, "的一些元素满足方法", {"type": "inputMortise","default": "","tenonTypes": []}, ",绑定对象", {"type": "mortise", "tenonTypes": []} ], "class": "array.Some", "extend": "$Expression" }, { "name": "array.reduce", "contents": [ "数组", {"type": "inputMortise","default": "","tenonTypes": []}, "reduce", {"type": "inputMortise","default": "","tenonTypes": []}, {"type": "inputMortise","default": "","tenonTypes": []}, ",绑定对象", {"type": "mortise", "tenonTypes": []} ], "class": "array.Reduce", "extend": "$Expression" }, { "name": "array.reduceRight", "contents": [ "数组", {"type": "inputMortise","default": "","tenonTypes": []}, "reduceRight", {"type": "inputMortise","default": "","tenonTypes": []}, {"type": "inputMortise","default": "","tenonTypes": []}, ",绑定对象", {"type": "mortise", "tenonTypes": []} ], "class": "array.ReduceRight", "extend": "$Expression" }, { "name": "array.contains", "contents": [ "数组", {"type": "inputMortise","default": "","tenonTypes": []}, "包含", {"type": "inputMortise","default": "","tenonTypes": []} ], "class": "array.Contains", "extend": "$Expression" }, { "name": "array.append", "contents": [ "数组", {"type": "inputMortise","default": "","tenonTypes": []}, "末尾添加数组", {"type": "inputMortise","default": "","tenonTypes": []} ], "class": "array.Append", "extend": "$Expression" }, { "name": "array.getLast", "contents": [ "数组", {"type": "inputMortise","default": "","tenonTypes": []}, "的最后一个元素" ], "class": "array.GetLast", "extend": "$Expression" }, { "name": "array.getRandom", "contents": [ "随机获取数组", {"type": "inputMortise","default": "","tenonTypes": []}, "中的一个元素" ], "class": "array.GetRandom", "extend": "$Expression" }, { "name": "array.erase", "contents": [ "从数组", {"type": "inputMortise","default": "","tenonTypes": []}, "中的删除元素", {"type": "inputMortise","default": "","tenonTypes": []} ], "class": "array.Erase", "extend": "$Expression" }, { "name": "array.empty", "contents": [ "清空数组", {"type": "inputMortise","default": "","tenonTypes": []} ], "class": "array.Empty", "extend": "$Expression" }, { "name": "array.combine", "contents": [ "合并数组", {"type": "inputMortise","default": "","tenonTypes": []}, "和", {"type": "inputMortise","default": "","tenonTypes": []}, "并去重" ], "class": "array.Combine", "extend": "$Expression" } ]