Contact: aviboots(AT)netvision.net.il
39,907 questions
51,839 answers
573 users
const st: Set<string> = new Set(['typescript', 'javascript', 'node.js']); st.forEach((element) => { console.log(element); }); /* run: "typescript" "javascript" "node.js" */
const st: Set<string> = new Set(['typescript', 'javascript', 'node.js', 'c']); for (const element of st) { console.log(element); } /* run: "typescript" "javascript" "node.js" "c" */