loading...

re: Enhanced Object Literals in ES6 VIEW POST

FULL DISCUSSION
 

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;
....
"

 

Thank you for the correction. 😊

code of conduct - report abuse