
浏览器
joyour
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
主流浏览器内核
IE:trident Chrome:Webkit/Blink Firefox:Geck Opera:Presto Safari:Webkit原创 2019-03-11 13:19:48 · 134 阅读 · 0 评论 -
ES6:includes(), startsWith(), endsWith()
includes(), startsWith(), endsWith() includes():返回布尔值,表示是否找到了参数字符串。 startsWith():返回布尔值,表示参数字符串是否在原字符串的头部。 endsWith():返回布尔值,表示参数字符串是否在原字符串的尾部。 let s = 'Hello world!'; s.startsWith('Hello') // t...原创 2019-03-19 14:05:54 · 267 阅读 · 0 评论