标签:code == typelist function turn func pre color fun
//produceTypeList-produceType:存在produceTypeList中不存在produceType中 let diff1 = produceTypeList.filter(function(v){ return produceType.indexOf(v) === -1 }).join(",") //produceType-produceTypeList:存在produceType中不存在produceTypeList中 let diff2 = produceType.filter(function(v){ return produceTypeList.indexOf(v) === -1 }).join(",")
标签:code == typelist function turn func pre color fun
原文地址:https://www.cnblogs.com/xiexiaoxia/p/14954962.html