Skip to content

Commit 0fbcfd8

Browse files
Wayleom Vargas RubioWayleom Vargas Rubio
authored andcommitted
feat lesson06 changed stretch assignemtn file
1 parent 79b0d27 commit 0fbcfd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lesson_06/expression/src/wayleomvargas/abbreviation-validator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export function isValidAlphaAbbreviation(word: string, abbr: string): boolean {
1+
function isValidAlphaAbbreviation(word: string, abbr: string): boolean {
22
if (word.length < 1 || word.length > 25) return false;
33
if (abbr.length < 1 || abbr.length > 15) return false;
44
if (!/^[a-z]+$/.test(word)) return false;

0 commit comments

Comments
 (0)