题解 | #从大到小排序#
从大到小排序
http://www.nowcoder.com/practice/e322fef7ed654db993163f7025eb06a4
{"css":"","js":"function _sort(array) {\n // 补全代码\n return array.sort((a, b) =>{return b - a});\n}","html":"","libs":[]}
从大到小排序
http://www.nowcoder.com/practice/e322fef7ed654db993163f7025eb06a4
{"css":"","js":"function _sort(array) {\n // 补全代码\n return array.sort((a, b) =>{return b - a});\n}","html":"","libs":[]}
相关推荐