主页
JS 参考手册
JavaScript 数组 toSorted() 方法
tryjsref_array_tosorted
运行 ❯
×
更改方向
保存代码
更改主题
JavaScript Arrays
The toSorted() Method
The toSorted() method sorts the elements of an array in alphabetical order.