Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: How do you assign object properties?
Answer:
Ways to assign object properties:
  • obj["age"] = 18
  • obj.age = 18
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook