JavaScript's `new` operator
This demonstrates the relationship between JavaScript's `new` operator and the return type of constructors.
JavaScript
var A = function(text){
var t = text;
var hello = function(){
alert(t);
};
};
var state = A();
state.hello();
var x = new A();
x.hello();
alert("qsd");
console.log("zer");