📜  typescript 函数返回数组 - TypeScript 代码示例
📅  最后修改于: 2022-03-11 14:48:25.883000             🧑  作者: Mango
代码示例1
function retarray():string[] {
return new Array("Apple","Grappe","Banana");
}
var fruits:string[] = retarray();