DEV Community

Discussion on: ES2018 Features with simple examples

Collapse
 
clementdeb profile image
clementDeb

hello,
in the rest/spread properties, where the 'cars' const comes from ?

Collapse
 
daniel13rady profile image
Daniel Brady

That looks like a refactoring error the author made while preparing the example: I think cars is meant to be bananas (or vice versa). 🍌

Collapse
 
carlillo profile image
Carlos Caballero

Yes, It is. Today, I'm going to change the image.