[TypeScript] Class
아래와 같이 class 를 작성하면 class Player { constructor ( private firstName:string, private lastName:string, public nickname:string ){} } const user1 = new Player('first','last','nick'); 아래와 같이 javascript 로 나타내진다. "use strict"; class Player { constructor(firstName, lastName, nickname) { this.firstName = firstName; this.lastName = lastName; this.nickname = nickname; } } const user1 = new Player('first', '..