diff --git a/lottery/script.js b/lottery/script.js index e7b40653fbd44b242d3fcdbcf406373028dcadc5..099ed05cb14ca41dc9eba2d4804a95b17ca11222 100644 --- a/lottery/script.js +++ b/lottery/script.js @@ -1,11 +1,10 @@ let nlist = document.querySelector(".list") -let fn = ['赵', '钱', '孙', '李', '周', '吴', '郑', '王', '冯', '陈'] -let sn = ['泽', '梓', '子', '宇', '沐', '一', '宸', '涵', '辰', '奕'] +let fn = ['H哈喽'] let names = [] let run = false function init() { for (let i = 0; i < 40; i++) { - names.push(fn[Math.random() * fn.length | 0] + sn[Math.random() * sn.length | 0] + sn[Math.random() * sn.length | 0]) + names.push(fn[Math.random() * fn.length | 0] + sn[Math.random() * sn.length | 0]) } } init()