给定示例数组array =[ ["name1", ["blue", "yellow", "pink"], "id"], ["name2", ["green", "orange"], "id"], ["nameN", ["purple", "black", "white", "red"], "id"],];在(香草)Js中,是否有可能有效地获得name和id匹配两种给定颜色的颜色(比如red和black)?
添加回答
举报
0/150
提交
取消