mirror of
https://github.com/onkelbeh/cheatsheets.git
synced 2026-08-16 05:54:53 +02:00
add string starsWith method
This commit is contained in:
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")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user