Bug in Getter/Setter ES6 Challenge?

Bug in Getter/Setter ES6 Challenge?
0.0 0

#1

I am not sure if this is an actual bug, but I have seemed to pass the challenge without using get or set:

  /* Alter code below this line */
  class Thermostat{
    constructor(temp){
      this.tempF = temp;
    }
  }
  /* Alter code above this line */

It seems like this shouldn’t pass, unless I’m missing something. I was just running the code to check if what I had written was valid so far.


#2

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.


#3

Apologies, I have not submitted one before!