
es6
小前端
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
nodejs连接本地mysql数据库封装
nodeJs连接数据处理原创 2022-11-24 10:33:51 · 238 阅读 · 0 评论 -
es6基础
es6 基础内容的学习笔记原创 2019-09-21 16:22:36 · 269 阅读 · 0 评论 -
es6中新增字符串函数
startsWith() 检查是否以指定字符串开头,返回布尔值 var str="321366199008092086" console.log(str.startsWith('32'));//true endsWith() 检查是否以指定字符串结尾,返回布尔值 var str2="CSS-HTML-JAVASCRIPT"; console.log(str2.endsWith("JAVASCRI...原创 2019-09-21 16:47:41 · 137 阅读 · 0 评论 -
es6字符串模板
es6的模板字符串的学习原创 2019-09-21 17:13:52 · 226 阅读 · 0 评论 -
es6基础3
es6基础学习3原创 2019-09-24 17:44:51 · 172 阅读 · 0 评论 -
es6中的set
set是一个它类似于数组的数据结构 set 结构不会添加重复的值(可以解决数组去重) let yun_set1=[1,2,2,3,4,1]; let yun_ste2=new Set(yun_set1); //Set属于类数组结构 console.log({[...yun_ste2]})// ...方法可以将 Set 结构转为数组。 // [1, 2, 3, 4] 向 Set 加入值的时候,不会...原创 2019-09-25 10:58:24 · 181 阅读 · 0 评论