clean-code-javascript
clean-code-javascript copied to clipboard
Elaboration on "use-explanatory-variables"
I found the following example hard to understand. Especially on this part:
const [, city, zipCode] = address.match(cityZipCodeRegex) || [];
It might be a valuable addition to simplify or elaborate a bit more on it.