Open In App

Web technologies Questions | JavaScript Course Quiz 1 | Question 21

Last Updated : 26 Aug, 2021
Like Article
Like
Save
Share
Report

Which of the following method can also be used to create objects in javascript
(A) new keyword
(B) object.create()
(C) create.object()
(D) Both a and b


Answer: (D)

Explanation: Both new keyword and object.create() can be used to create new objects in javascript

Quiz of this Question
Please comment below if you find anything wrong in the above post


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads