Convert a nested arrow function to a regular function

前端 未结 0 973
伪装坚强ぢ
伪装坚强ぢ 2020-12-20 01:26

I am trying to convert the following arrow function to regular;

const hasLargerCapacity= (color1, color2)=>{
let obj1=cars.filter(item=>item.color===col         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题