add string `starsWith` method
This commit is contained in:
parent
e10acfa677
commit
ca767113f5
1
es6.md
1
es6.md
|
@ -68,6 +68,7 @@ See: [Binary and octal literals](https://babeljs.io/learn-es2015/#binary-and-oct
|
||||||
```js
|
```js
|
||||||
"hello".repeat(3)
|
"hello".repeat(3)
|
||||||
"hello".includes("ll")
|
"hello".includes("ll")
|
||||||
|
"hello".startsWith("he")
|
||||||
"\u1E9B\u0323".normalize("NFC")
|
"\u1E9B\u0323".normalize("NFC")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue