Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions 12_Day_Regular_expressions/12_day_regular_expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -453,10 +453,10 @@ distance = 12
1. Write a pattern which identify if a string is a valid JavaScript variable

```sh
is_valid_variable('first_name') # True
is_valid_variable('first-name') # False
is_valid_variable('1first_name') # False
is_valid_variable('firstname') # True
is_valid_variable('first_name') // True
is_valid_variable('first-name') // False
is_valid_variable('1first_name') // False
is_valid_variable('firstname') // True
```

### Exercises: Level 2
Expand Down