constarray1=[{currency:'CNY',value:1},{currency:'USD',value:2}]constarray2=[{currency:'CNY',value:332},{currency:'USD',value:424},{currency:'HK',value:123}]数组array1和array2,现在需要根据array1子元素的currency字段,删除array2中多余的子元素,即得到constarray2=[{currency:'CNY',value:332},{currency:'USD',value:424}]怎么写啊,,想了好久都没实现~~~!!!!
呼如林
智慧大石
相关分类