chore(curriculum): fixed typo (#59623)

This commit is contained in:
Jack Nordberg
2025-04-07 16:05:03 -04:00
committed by GitHub
parent f09e8bd8ec
commit bb97d01f13

View File

@@ -16,7 +16,7 @@ Fulfill the user stories below and get all the tests to pass to complete the lab
**User Stories:**
1. Create a function named `maskEmail` that takes `email` as an argument.
2. Inside the function, you should mask the `email` and append the domain name to it. Remember that you can use methods like `slice`, `repeat`, `indexOf` `slice` or even `replace` to help you.
2. Inside the function, you should mask the `email` and append the domain name to it. Remember that you can use methods like `slice`, `repeat`, `indexOf` or even `replace` to help you.
3. Outside the function, declare a variable named `email` to store the email address you want to mask.
4. Call the `maskEmail` function with the `email` variable and output the result to the console.
5. `maskEmail("apple.pie@example.com")` should return `"a*******e@example.com"`.