2015-02-12发表2015-02-12更新大前端 / javascript2 分钟读完 (大约364个字)javascript函数传递巧解排序对下面数组进行排序(按数字大小)123var arr=[1,22,13,4,101];arr.sort();alert(arr);阅读更多