DEV Community

loading...

Discussion on: ES2018 Features with simple examples

Collapse
andresdotsh profile image
Andres Rosero

Great article!
In the 'RegExp named capture groups' image, the destructuring example looks wrong, I think is { pear, apple } instead of { one, two }.

Collapse
carlillo profile image
Carlos Caballero Author

Yes, it is a wrong. I will change the image when I arrived to home