DEV Community

Discussion on: Enhanced Object Literals in ES6

Collapse
 
giliyoffe profile image
giliyoffe • Edited

Thank you Sarah, I Liked it

typo:
think u meant to write es6 and not 5 in:

"
...
//ES5
function getLaptop(make, model, year) {
return{
sayModel() {
return model;
....
"

Collapse
 
sarah_chima profile image
Sarah Chima

Thank you for the correction. 😊