Pangrams

  • + 0 comments

    Javascript soultion

    function pangrams(s) {
        // Write your code here
        const alphabet = 'abcdefghijklmnopqrstuvwxyz';
        const result = alphabet.split('').every(char => s.toLowerCase().includes(char));
      return result ? 'pangram' : 'not pangram';
    }