Problem in Use getters and setters to Control Access to an Object code

Hi people. I was in this challenge https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/use-getters-and-setters-to-control-access-to-an-object/ and you can pass the challenge only with the code:

  class Thermostat{
    constructor (temperature){
      this.temperature = temperature;
    }
  }

I think you should repair it, because the challenge is about Getters and Setters and you don’t code nothing about them for pass it.

Thanks! :slight_smile:

Bugs should always be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.