
Notifications
Clear all
What does JavaScript return to you if you try to access a object's property that doesn't exist?
0
01/06/2023 10:56 am
Topic starter
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
- 22 Forums
- 1,969 Topics
- 5,307 Posts
- 0 Online
- 1,282 Members
Our newest member: TimothySenue
Latest Post: Space bug using " & n b s p ; "
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed