Discover
Communities
Decks
Login
Discover
Communities
Decks
Buy perks
Login
Signup
Topics
New
Trending
Hot
New
New
Friends
Trending
Hot
New
Controversial
Rising
Promoted
w-js
wonsama
kr
6y
[javascript] Class vs Factory 함수 비교
Class vs Factory class는 ES6(ECMAScript 2015)에서 추가된 문법으로, class 함수 와 factory 함수를 비교해 보려 합니다. class class TodoModel { constructor(){ this.todos = []; this.lastChange = null; } addToPrivateList(){
$ 3.662
22
5
Top communities
Center