JavaScript는 OOP(Object-oriented programming) 언어인데 class는 개발자가 유사한 객체를 빠르게 생성할 때 사용하는 도구이다.객체(object)의 설계도인 클래스(class)는 문법이 비슷하지만 가장 큰 차이는 constructor