nods.js ends with code example
Example 1: javascript endswith
"Hello world".endsWith("world");//true
"Hello world".endsWith("Hello");//false
Example 2: 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