Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript String endsWith() examples

JavaScript startsWith() Case sensitive Example
const text = 'Hello, Welcome to JavaScript World';
console.log(text.endsWith('World')); // true
console.log(text.endsWith('world')); // false
Source by itsjavascript.com #
 
PREVIOUS NEXT
Tagged: #JavaScript #String #examples
ADD COMMENT
Topic
Name
7+4 =