Contact: aviboots(AT)netvision.net.il
40,772 questions
53,159 answers
573 users
function equal(s1 : string, s2 : string) : boolean { return s1 === s2 } const str1 = "abc"; const str2 = "abc"; console.log(equal(str1, str2) ? "yes" : "nos"); /* run: "yes */