D
Dmitry A. Soshnikov
One interesting question; it fits for quiz question. Answer without
checks, it's easy:
function A() {
this.getB = function () {
return function B() {
};
};
}
var x = new new A().getB();
alert(x); ?
Dmitry.
checks, it's easy:
function A() {
this.getB = function () {
return function B() {
};
};
}
var x = new new A().getB();
alert(x); ?
Dmitry.