함수
VS 객체 리터럴
VS 정적 클래스
VS 클래스 인스턴스를 export
#152
toothlessdev
started this conversation in
A vs B
Replies: 1 comment
-
오... 제 케이스를 돌아보면 다른 분들 케이스도 궁금하네요 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
안녕하세요!
자바스크립트에서 객체를 선언하는 방법에는 여러가지가 있는데요
여러분들은 혹시 어떤 기준으로 나누어 사용하는지 궁금합니다
예를들어, 단순히
count
라는 필드가 존재하고,increase
,decrease
메서드가 존재하는 객체를 만드는 경우에개인적으로 비교해 보았을 때에는
다른 개발자 분들은 자신만의 기준이 있는지 궁금하여 여쭤봅니다!
22 votes ·
Beta Was this translation helpful? Give feedback.
All reactions