Contact: aviboots(AT)netvision.net.il
39,851 questions
51,772 answers
573 users
let str = 'javascript typescript node.js'; const lastIndexOf_j = str.lastIndexOf('j'); str = str.slice(0, lastIndexOf_j) + str.slice(lastIndexOf_j + 1); console.log(str); /* run: javascript typescript node.s */