mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-29 06:26:22 +00:00
452 B
452 B
id | title |
---|---|
00b0d7a6-4222-47e3-a0c9-58f071fa404e | JavaScript String endsWith Method |
Introduction
Introduced in ES6
Syntax
console.log('hello'.endsWith('ello')) // true
console.log('hello'.endsWith('ello', 5)) // true