title: Check class property exist when calling from object in NodeJs
body: <p>I'm working on <code>nodeJs</code> Here I create <code>class</code> and I want that when any property called which is not exist in this class it will print warning in console how can I do this? Maybe using somekind of class function but I'm not able to find anything. </p>
  
  <p><strong>Class Audio</strong>   </p>
  
  <pre><code>class User {
   constructor(name, age){
      this.name = name;
      this.age = age;
   }
  }
  
  
  // Calling the class 
  user = new User('name', 25);
  user.height; // This value not exist in class
  </code></pre>
  
  <p>I want to print a warning in console when someone call <code>height</code> property which is not exist in class is it possible if yes please let me know. </p>