Contact: aviboots(AT)netvision.net.il
39,907 questions
51,839 answers
573 users
const s = 'nodejs'; const secondToLast = s[s.length - 2]; console.log(secondToLast); /* run: j */