| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent dd7e665 commit 5f8daa0
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -125,7 +125,7 @@ saveCityZipCode( | |||
| 125 | 125 | ```javascript | |
| 126 | 126 | const address = "One Infinite Loop, Cupertino 95014"; | |
| 127 | 127 | const cityZipCodeRegex = /^[^,\\]+[,\\\s]+(.+?)\s*(\d{5})?$/; | |
| 128 | - const [, city, zipCode] = address.match(cityZipCodeRegex) || []; | ||
| 128 | + const [city, zipCode] = address.match(cityZipCodeRegex) || []; | ||
| 129 | 129 | saveCityZipCode(city, zipCode); | |
| 130 | 130 | ``` | |
| 131 | 131 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments