Inflearn Community Q&A
prototype.constructor 를 꼭 설정해주어야 하는 이유가 뭔가요?
Written on
·
244
0
코드를 돌려 봤을 때 constructor를 설정해주지 않아도 taste() 와 flavor() 메소드가 정상적으로 실행되는 것으로 확인했습니다.
prototype.constructor 를 꼭 설정해줘야한다면 그 이유가 뭔지 궁금하고, 설정해주지 않았을 때 생기는 문제점이 궁금합니다!
코테 준비 같이 해요! javascript
Answer
This question is waiting for answers
Be the first to answer!





