Ad
Strings
Code
Diff
  • isUnique=s=>new Set(s).size==s.length
    
    • const isUnique = string => new Set(string).size === string.length
    • isUnique=s=>new Set(s).size==s.length