You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pig_latin/pigLatin.spec.js
+1-18Lines changed: 1 addition & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,3 @@
1
-
// Topics
2
-
3
-
// * modules
4
-
// * strings
5
-
6
-
// Pig Latin
7
-
8
-
// Pig Latin is a made-up children's language that's intended to be confusing. It obeys a few simple rules (below) but when it's spoken quickly it's really difficult for non-children (and non-native speakers) to understand.
9
-
10
-
// Rule 1: If a word begins with a vowel sound, add an "ay" sound to the end of the word.
11
-
12
-
// Rule 2: If a word begins with a consonant sound, move it to the end of the word, and then add an "ay" sound to the end of the word.
13
-
14
-
// (There are a few more rules for edge cases, and there are regional variants too, but that should be enough to understand the tests.)
15
-
16
-
// See https://en.wikipedia.org/wiki/Pig_Latin for more details.
0 commit comments