In this chapter, we looked at how we can create classes in ES6 using the class keyword. We made a Person class, which was just an example, and we made our Users class, which we'll actually be using throughout the book. We looked at adding custom methods as well as setting up our constructor function. Then, we created removeUser, getUser, and getUserList methods in the similar manner.
Next, we looked into wiring up the users class we created and updated the People list when a user joins or left the chatroom. Then we looked into sending messages to a particular room and not to all the users. At last, we added a few ideas, which you can look into to enhance the features of the chatroom.
In the chapter, we are going to learn about Async/Await project setup.