Freecodecamp: ES6: Use getters and setters to Control Access to an Object can be passed with an empty class

Created on 1 Nov 2018  路  2Comments  路  Source: freeCodeCamp/freeCodeCamp

On the challenge "ES6: Use getters and setters to Control Access to an Object" you can pass the challenge by simply making a class with the name "Thermostat" that contains nothing.

Add a Link to the page with the problem:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/use-getters-and-setters-to-control-access-to-an-object

Tell us about your browser and operating system:

  • Browser Name: Google Chrome
  • Browser Version: Version 70.0.3538.77 (Official Build) (64-bit)
  • Operating System: macOs Mojave Version 10.14

If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):
screen shot 2018-10-31 at 9 12 21 pm

learn

Most helpful comment

I'll work on that!

All 2 comments

We need to add additional tests to check if the class have a getter and setter and those getter and setter return correct values.

I'll work on that!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

robwelan picture robwelan  路  3Comments

MichaelLeeHobbs picture MichaelLeeHobbs  路  3Comments

vaibsharma picture vaibsharma  路  3Comments

itsmikewest picture itsmikewest  路  3Comments

Tzahile picture Tzahile  路  3Comments