From f163746d75b9690fd785c8c800e90ffa32e387b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=A3=8B=E5=B3=B0?= <12890426+broniagril@user.noreply.gitee.com> Date: Sun, 7 May 2023 06:50:07 +0000 Subject: [PATCH] update lottery/script.js. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 黄棋峰 <12890426+broniagril@user.noreply.gitee.com> --- lottery/script.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lottery/script.js b/lottery/script.js index e7b4065..099ed05 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() -- Gitee