please someone tell me difference between new obj and object.create(obj) to create a new object
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Why should we use Object.create over new Object | 3 | 603 | February 2, 2021 | |
| Two ways to create an object, difference? | 3 | 385 | June 1, 2021 | |
| Question about Object.create() | 3 | 667 | June 1, 2021 | |
| Confused by inherited behaviors using new and Object.create() | 2 | 242 | June 1, 2021 | |
| Is Object.create() a complete replacement for new instantiation? | 2 | 457 | February 2, 2021 |