인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

shxho04760800's profile image
shxho04760800

asked

Life Coding - JavaScript Basics

Constructor and this

"생성자와 this" 강의 중 질문있습니다.

Written on

·

175

0

생성자 안에서의 this는 아직 o2객체에 담기지 않은 시점에서의 객체를 가리킨다고 하셨는데요,

그 상태로 funcThis에 대입되고, 그 이후에 생성 객체가 o2에 담긴다면 funcThis는 여전히 o2가 아닌 이전 상태의 객체를 가리켜야 하는게 아닌지 궁금합니다.

 

javascript

Answer

This question is waiting for answers
Be the first to answer!
shxho04760800's profile image
shxho04760800

asked

Ask a question