ExamVeda
Login
Home
This question belongs to Javascript Classes And Modules
Classes and Modules
?

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

Answer & Solution
Correct Answer: Option C
When used to define new properties, any attributes you omit default to false. Therefore, both Object.defineProperty() and Object.defineProperties() can be used to create and modify the attributes.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.