wiki/content/20201112095504-javascript_string_includes_method.md

213 B

id title
da46f6f1-d81f-48f7-9704-fd1f69debb85 JavaScript String includes Method

Syntax

console.log('hello'.includes('ell')) // true
console.log('hello'.includes('ell', 1)) // true