📜  在线 ts 编译器 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:16.590000             🧑  作者: Mango

代码示例1
1234567891011121314
const message:string = "hello world!";console.log(message);var alist = ["a","b"];var blist = ["c","d"];var clist = [];alist.forEach(element =>{    blist.forEach(group => {        var temp = element;        console.log(temp);        temp = temp + group;        clist.push(temp)    });});console.log(clist);