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