mirror of
https://github.com/alrayyes/wiki.git
synced 2025-07-17 23:11:47 +00:00
Quartz sync: May 6, 2024, 10:40 PM
This commit is contained in:
parent
aee9145691
commit
4ef8371441
635 changed files with 22281 additions and 6 deletions
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
id: 8a5acfc2-e49c-4f3a-8823-00d7b57e8569
|
||||
title: JavaScript String startsWith Method
|
||||
---
|
||||
|
||||
# Syntax
|
||||
|
||||
``` javascript
|
||||
console.log('hello'.startsWith('hell')) // true
|
||||
console.log('hello'.startsWith('ell', 1)) // true
|
||||
```
|
||||
|
||||
# See also
|
||||
|
||||
- [endsWith](20201112095428-javascript_string_endswith_method)
|
||||
- [JavaScript String Prototype
|
||||
Methods](20201112095341-javascript_string_prototype_methods)
|
Loading…
Add table
Add a link
Reference in a new issue