Contact: aviboots(AT)netvision.net.il
41,636 questions
54,299 answers
573 users
let str = 'javascript,c,c++,python/'; str = str.endsWith('/') ? str.slice(0, -1) : str; console.log(str); /* run: "javascript,c,c++,python" */