Classes and Objects in OOP in JavaScript
OOP classes are declared using the class keyword. Let's create a class that describes some users:
class User {
}
You can create an object of this class using the new command:
let user = new User;
You can output the created object to the console:
console.log(user);
Make class Employee.
Create an object of class Employee and print it to the console.