Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined의 진짜 의미 #70

Open
samslow opened this issue Aug 5, 2020 · 1 comment
Open

undefined의 진짜 의미 #70

samslow opened this issue Aug 5, 2020 · 1 comment
Assignees
Labels
Answered 답변이 완료된 상태

Comments

@samslow
Copy link
Member

samslow commented Aug 5, 2020

var a = {};
a.b; // undefined

여기서 b는 선언도 안됐는데 왜 undefiend인가요 ?

@jinsunee
Copy link
Contributor

jinsunee commented Aug 12, 2020

객체 속성에 접근할 때 나오는 undefined 는 속성이 존재하지않음을 의미한다고 합니다.
그냥 자바스크립트에서 정해놓은 것 같아요.

[reference]
https://poiemaweb.com/js-object
https://ko.javascript.info/object
https://ko.khanacademy.org/computing/computer-programming/programming/objects/a/review-objects

@samslow samslow added the Answered 답변이 완료된 상태 label Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Answered 답변이 완료된 상태
Projects
None yet
Development

No branches or pull requests

2 participants