var f = new function() {
this.prop = '...';
};
console.dir(f); // Object
How it works? First is to determine the function and then call. But in this example, there is a call then determining. How it?
var f = new function() {
this.prop = '...';
};
console.dir(f); // Object
How it works? First is to determine the function and then call. But in this example, there is a call then determining. How it?