摘要: 1:排序 正常排序,从小到大: var a = [13, 6, 100, 4, 8]; function b(c,d){ return c-d } a.sort(b); console.log(a,888888)// [4, 6, 8, 13, 100] 888888 </script> 冒泡排序: 阅读全文
posted @ 2020-06-17 14:57 FancyAnnaYL 阅读(194) 评论(0) 推荐(0) 编辑