12 2021 档案

摘要:let arr = [1,2,3,4,5] arr.sort(() => { return 0.5 - Math.random() }) console.log(arr) // [4,2,1,3,5] 阅读全文
posted @ 2021-12-28 18:06 李健威 阅读(49) 评论(0) 推荐(0)
摘要:1 <!DOCTYPE html> 2 <html lang="zh"> 3 <head> 4 <title>代码对比/归并title> 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 <meta h 阅读全文
posted @ 2021-12-10 21:41 李健威 阅读(275) 评论(0) 推荐(0)