Checking if a given string is Pangram in JavaScript | JavaScript Coding Interview Question

Publicado em: 27 Maio 2022
no canal de: Miss Developer
121
6

▬▬▬▬▬▬ T I M E S T A M P S ▬▬▬▬▬▬
What is a Pangram | 00:00
Solving Pangram challenge | 00:15

▬▬ How to check if a given string is a Pangram ▬▬

1. Make a string case-insensitive using toLowerCase()
2. Iterate through all letters of the alphabet using 'for of'
3. Check each character of the string calling indexOf()
indexOf() returns -1 when passed letters of the alphabet are not found in the string
4. return 'false' if the letter of the alphabet is not found in the string otherwise return 'true'


Nesta página do site você pode assistir ao vídeo on-line Checking if a given string is Pangram in JavaScript | JavaScript Coding Interview Question duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Miss Developer 27 Maio 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 121 vezes e gostou 6 espectadores. Boa visualização!