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 | 368 | June 1, 2021 | |
Is Object.create() a complete replacement for new instantiation? | 2 | 453 | February 2, 2021 | |
Question about Object.create() | 3 | 656 | June 1, 2021 | |
Object.create vs Object.assign | 9 | 1119 | April 26, 2023 | |
New keyword vs Object.create() method | 2 | 1189 | April 1, 2022 |