@@ -100,3 +100,40 @@ for (let index = 0; index < message.length; index++) {
100
100
- [] Anagramas
101
101
- [] Isogramas
102
102
*/
103
+
104
+ /**
105
+ * Determine if two words are palindromes, anagram or isogram
106
+ * @param {string } firstWord Any string word
107
+ * @param {string } secondWord Any string word
108
+ * @returns Returns a boolean response true or false
109
+ */
110
+ function textAnalizer ( firstWord , secondWord ) {
111
+ //TODO
112
+ const resultPalindrome = palindromeTester ( firstWord , secondWord )
113
+ const resultAnagram = anagramaTester ( firstWord , secondWord )
114
+ const resultIsogram = isogramaTester ( firstWord , secondWord )
115
+ }
116
+
117
+ /**
118
+ * Determine if two words are palindromes
119
+ * @param {string } firstWord Any string word
120
+ * @param {string } secondWord Any string word
121
+ * @returns Returns a boolean response true or false
122
+ */
123
+ const palindromeTester = ( firstWord , secondWord ) => { }
124
+
125
+ /**
126
+ * Determine if two words are anagram
127
+ * @param {string } firstWord Any string word
128
+ * @param {string } secondWord Any string word
129
+ * @returns Returns a boolean response true or false
130
+ */
131
+ const anagramaTester = ( firstWord , secondWord ) => { }
132
+
133
+ /**
134
+ * Determine if two words are isogram
135
+ * @param {string } firstWord Any string word
136
+ * @param {string } secondWord Any string word
137
+ * @returns Returns a boolean response true or false
138
+ */
139
+ const isogramaTester = ( firstWord , secondWord ) => { }
0 commit comments