How to Splice method performance error with max

前端 未结 0 606
误落风尘
误落风尘 2021-01-24 06:54

I have a dilemma with this line of code

let numero = [11,5,7,9,10,12];
console.log(numero.splice(Math.min.aply(null, numero), 1));
console.log(numero);

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