mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +00:00
12 lines
230 B
Markdown
12 lines
230 B
Markdown
---
|
|
date: 2020-11-12
|
|
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
|
|
```
|