小编Ros*_*lle的帖子

concat在javascript中的语法

let items = ['Tom','Bill','Kim'];
let result = items.reduce((str, item) => str + '<'.concat(item).concat('>'),"");

console.log(result);
Run Code Online (Sandbox Code Playgroud)

请问""代码的结尾是什么?

javascript reduce concat function

2
推荐指数
1
解决办法
53
查看次数

标签 统计

concat ×1

function ×1

javascript ×1

reduce ×1