fix(curriculum): small fixes in JS spam filter project (#55170)

This commit is contained in:
yoko
2024-06-13 02:09:32 +09:00
committed by GitHub
parent 8bcf080ad2
commit d9419b8e6c
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ dashedName: step-5
# --description--
Back in your event listener, you need to update the text of the `result` element. You can use a `ternary` operator to achieve this task.
Back in your event listener, you need to update the text of the `result` element. You can use a ternary operator to achieve this task.
Here is an example of assigning the result of a ternary operator to an element's text content:

View File

@@ -9,7 +9,7 @@ dashedName: step-7
Regular expressions can take <dfn>flags</dfn> to modify their behavior. For instance, the `i` flag can be used to make the expression ignore case, causing it to match `hello`, `HELLO`, and `Hello` for the expression `/hello/`.
Flags are added after the trailing backslash. Add the `i` flag to your `helpRegex`.
Flags are added after the trailing slash. Add the `i` flag to your `helpRegex`.
# --hints--