Posts by Thiago • 11 points
1 post
-
0
votes1
answer42
viewsQ: Javascript string?
How do you know the number of times a letter appeared in a Javascript sentence? Example: palavra = "a" frase = "Agora vai!" As shown on the console the number of times string "a" appeared in the…