01/06/2023 10:56 am
Topic starter
Notifications
Clear all
What does JavaScript return to you if you try to access a object's property that doesn't exist?
0
What does JavaScript return to you if you try to access a object’s property that doesn’t exist?
Answer
Add a comment
Add a comment
1 Answer
0
01/06/2023 1:23 pm
If I tried to access a property name in an object that does not exist, then I would get undefined. For example, if I tried developer. age then the return value would be undefined because the developer object does not have that property name.
Add a comment
Add a comment
Forum Information
- 14 Forums
- 1,836 Topics
- 5,052 Posts
- 0 Online
- 1,078 Members
Our newest member: Richardnop
Latest Post: loli
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed