πŸ“Š JavaScript
Q. Which is the correct syntax to access an object property in JavaScript?
  • (A) objectName:propertyName
  • (B) propertyName
  • (C) objectName["propertyName"]
  • (D) Both B and C.
πŸ’¬ Discuss
βœ… Correct Answer: (D) Both B and C.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
211
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
94%
Success Rate