重构此代码arr1forEacha = arr2forEachb = if a === bsign && bstate === true && bability === 1 openArraypushbsign
const openArray = []; arr1.forEach((a) => { arr2.forEach((b) => { if (a === b.sign && b.state === true && b.ability === 1) { openArray.push(b.sign); } }); });
原文地址: http://www.cveoy.top/t/topic/iZSR 著作权归作者所有。请勿转载和采集!