Merge pull request #528 from Brantron/patch-1
add string `starsWith` method
This commit is contained in:
commit
7da9a725aa
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