DEV Community

Discussion on: ES2018 Features with simple examples

andresdotsh profile image
Andres Dotsh

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

carlillo profile image
Carlos Caballero Author

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