/P-Latin

Epicodus practice with js.

Primary LanguageJavaScript

Describe: pigLatin()

Test: "It will add 'way' to the end of words that begin with a vowel." Code: pLatin("a"); Expected Output: "away"

Test: "It will add 'way' to the end of words that begin with a vowel." Code: pLatin("a"); Expected Output: "Away"

Test: "It will move all of the first consecutive consonants to the end and add "ay". Code: pLatin("code"); Expected Output: "edocay"

Test: "The first consonants include "qu", move the "q" and the "u" and add "ay" at the end. Code: pLatin("quick"); Expected Output: "ickquya"