How set Set objects (new Set(someArray) iterable by babel plugin

后端 未结 0 1550
眼角桃花
眼角桃花 2021-02-06 07:45

.babelrc: ["@babel/plugin-transform-spread", {"loose": true}],

code: [...new Set([...arr2, ...arr1]),]

try to:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题