자바스크립트는 프로토타입 기반 언어이지만 클래스를 사용할 수는 있다. class User { constructor(first, last) { this.firstName = first; this.lastName = last; } getFullName() { return `${this.firstName} ${this.lastName}` } } const bayern = new User('Tomas', 'Muller'); const munich = new User('Joshua', 'Kimmich'); console.log(bayern.getFullName()); //Tomas Muller console.log(munich.getFullName()); // Joshua Kimmich 클래스의 정의 클래스는 객..