标签: javascript ecmascript-6
如何删除找到的物品?
const item = array[index].items.find(item => item.something === something ); if(item){ // delete here }