![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
浏览器
joyour
这个作者很懒,什么都没留下…
展开
-
主流浏览器内核
IE:trident Chrome:Webkit/Blink Firefox:Geck Opera:Presto Safari:Webkit原创 2019-03-11 13:19:48 · 97 阅读 · 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 · 220 阅读 · 0 评论