前面一直用到的getCount,下面写一下


先生成随机数


base总结一下ES5和ES6的区别。导入import区别。class声明类很容易。数据结构方面map。padStart补白。set每个元素不是重复的。clear清空set或者map、集合遍历有entry。遍历接口可以自定义。字符串模板特性。ES6中math方法移植到Number上。Array.from转成数组。导入导出。
前面一直用到的getCount,下面写一下
先生成随机数
base总结一下ES5和ES6的区别。导入import区别。class声明类很容易。数据结构方面map。padStart补白。set每个元素不是重复的。clear清空set或者map、集合遍历有entry。遍历接口可以自定义。字符串模板特性。ES6中math方法移植到Number上。Array.from转成数组。导入导出。
本文标题:4-8 创建彩票基础模块(下)
本文链接:https://www.haomeiwen.com/subject/lwzrxftx.html
网友评论