Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript string ends with

const s = 'I am going to become a FULL STACK JS Dev with Coderslang';

console.log(s.endsWith('lang'));             // true
console.log(s.endsWith('LANG'));             // false
Source by learn.coderslang.com #
 
PREVIOUS NEXT
Tagged: #javascript #string #ends
ADD COMMENT
Topic
Name
9+6 =