Contact: aviboots(AT)netvision.net.il
39,990 questions
51,935 answers
573 users
const arr = [2, 56, 981, 3]; const arrOfStrings = arr.map(num => { return String(num); }); console.log(arrOfStrings); console.log(typeof arrOfStrings[0]); /* run: ["2", "56", "981", "3"] "string" */