mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-23 03:56:23 +00:00
11 lines
213 B
Markdown
11 lines
213 B
Markdown
---
|
|
id: da46f6f1-d81f-48f7-9704-fd1f69debb85
|
|
title: JavaScript String includes Method
|
|
---
|
|
|
|
# Syntax
|
|
|
|
``` javascript
|
|
console.log('hello'.includes('ell')) // true
|
|
console.log('hello'.includes('ell', 1)) // true
|
|
```
|