Folks
I am trying to list down what happens behind the scenes when new keyword is used to create an instance.
Here is what my code looks like
function F() {}
let f1 = new F()
f1.__proto__
When I understood so far is that when new is used, a new…
Top comments (0)