Q. The method that can be used to create new properties and also to modify the attributes of existing properties is

  • (A) Both Object.defineProperty() and Object.defineProperties()
  • (B) Object.defineProperties()
  • (C) Object.defineProperty()
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (A) Both Object.defineProperty() and Object.defineProperties()

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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