-- 创造无限可能

算法小程序

2023-07-17 23:59:06
380 人浏览 0 人点赞
有用,点赞支持一下

生成随机数

let num1 = parseInt(Math.random() * 100) // 随机0到100

字符串拼接

handleClick(number) {
    this.userInput = this.userInput + number
},