60. create your own `new` operator

JavaScript
Is this helpful ?

from all members: - accepted / - tried

new operator is used to create new instance objects.

Do you know exactly what new does?

You are asked to implement myNew(), which should return an object just as what new does but without using new.

Pay attention to the return type of constructor.

Let's try to solve this problem within 10 mintues.

Discuss(17)