Javascript sort an array of strings that containing numbers

前端 未结 0 1052
小蘑菇
小蘑菇 2020-11-30 02:08

I\'m trying to sort an array of string that sometimes contain numbers.

Here are examples of the array potentially received and the expected result:

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