Merge pull request #528 from Brantron/patch-1

add string `starsWith` method
This commit is contained in:
Rico Sta. Cruz 2018-05-14 09:19:09 +08:00 committed by GitHub
commit 7da9a725aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

1
es6.md
View File

@ -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")
``` ```