60. create your own `new` operator

JavaScript

easy  - 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.

What is time & space complexity of your approach?

(63)