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