mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-12 07:02:42 -04:00
chore(curriculum): fixed typo (#59623)
This commit is contained in:
@@ -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"`.
|
||||
|
||||
Reference in New Issue
Block a user