Contact: aviboots(AT)netvision.net.il
39,907 questions
51,839 answers
573 users
let s: string = "typescript programming"; const N: number = 4; s = s.slice(0, -N); console.log(s); /* run: "typescript program" */