mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-24 12:36:23 +00:00
469 B
469 B
date | id | title |
---|---|---|
2020-11-12 | 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