JS怎么根据输入的名字生成一个随机数function nameRnd(name) {return [...name].reduce((t, c) => (t * c.codePointAt(0)) % 123, 1)}nameRnd('张三'2023-04-23JavaScript230