Contact: aviboots(AT)netvision.net.il
39,907 questions
51,839 answers
573 users
const strings = ["c++", "node.js", "python", "c#", "swift", "java"]; const longestString = strings.reduce((a, b) => a.length >= b.length ? a : b); console.log(longestString); /* run: node.js */