Closed DCsunset closed 3 years ago
For the code:
let f = function() { this.a = 1; }; new f(); // -> { 'a': 1 }
new f() should also output the name of the function. So the correct version should be:
new f()
let f = function() { this.a = 1; }; new f(); // -> f { 'a': 1 }
For the code:
new f()
should also output the name of the function. So the correct version should be: