📜  获取两个 js 的组合 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:16.353000             🧑  作者: Mango

代码示例1
var array1=["A","B","C"];

var array2=["1","2","3","4"];

console.log(array1.flatMap(d => array2.map(v => d + v)))