We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc1ae6a commit 071dfdcCopy full SHA for 071dfdc
README.md
@@ -95,7 +95,7 @@ for (var i = 0; i < MINUTES_IN_A_YEAR; i++) {
95
**Bad:**
96
```javascript
97
let cityStateRegex = /^(.+)[,\\s]+(.+?)\s*(\d{5})?$/;
98
-saveCityState(cityStateRegex.match(cityStateRegex)[0], cityStateRegex.match(cityStateRegex)[0]);
+saveCityState(cityStateRegex.match(cityStateRegex)[1], cityStateRegex.match(cityStateRegex)[2]);
99
```
100
101
**Good**:
0 commit comments