Validate interface of function call

后端 未结 0 317
挽巷
挽巷 2021-01-27 17:12

I have a the following code:

myArray: { value: string; name: string; }[]; 

orderFunction (a, b) {
    if (a.wrong > b.wrong) {
        return 1;
    } else {
         


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