DEV Community

Chadrack kyungu
Chadrack kyungu

Posted on

feel like updating my JavaScript skils.

feel like updating my JavaScript skils. to some other thing like ES6 honestly i'm enjoying it imagine writing code like this isn't that nice?

const a = 1;
const object = {
a,
b:4,
};
const copy = {...object, c:5, d:6};
console.log(copy);

Top comments (1)

Collapse
 
jacobkim9881 profile image
Jacobkim

Of course. Readable code is always nice!