What's the output?

class Chameleon {
  static colorChange(newColor) {
    this.newColor = newColor;
    return this.newColor;
  }

  constructor({ newColor = 'green' } = {}) {
    this.newColor = newColor;
  }
} 

const freddie = new Chameleon({ newColor: 'purple' }); 
console.log(freddie.colorChange('orange'));
Go to next question