File tree
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -95,7 +95,7 @@ for (var i = 0; i < MINUTES_IN_A_YEAR; i++) {
|
95 | 95 | **Bad:**
|
96 | 96 | ```javascript
|
97 | 97 | let cityStateRegex = /^(.+)[,\\s]+(.+?)\s*(\d{5})?$/;
|
98 |
| -saveCityState(cityStateRegex.match(cityStateRegex)[0], cityStateRegex.match(cityStateRegex)[0]); |
| 98 | +saveCityState(cityStateRegex.match(cityStateRegex)[1], cityStateRegex.match(cityStateRegex)[2]); |
99 | 99 | ```
|
100 | 100 |
|
101 | 101 | **Good**:
|
|
You can’t perform that action at this time.
0 commit comments