function f1(){
console.log("inside f1");
this.a = 2;
};
var x1 = f1(); => inside f1
x1; => undefined
var x1 = new f1(); => inside f1
x1; => f1 {a: 2}
When f1 has a return value,
function f2(){
console.log("inside f2");
this.b = 2;
return { c :3 };
};
var x1 = f2(); => inside f2
x1; => Object {c: 3}
var x1 = new f2(); => inside f2
x1; => Object {c: 3}
how would I access b in this case?