javascript string methods endsWith code example
Example: 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