Tell us what’s happening:
Lost on this one as well
Your code so far
// Only change code below this line
const bicycle = {
gear: 48,
setGear() {
return `New Gear = ${this.gear} `;
}
};
// Only change code above this line
bicycle.setGear(3);
console.log(bicycle.gear);
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Challenge: ES6 - Write Concise Declarative Functions with ES6
Link to the challenge: