function speakA(){
    alert(this.name);
    alert(this.n);
    speakC();
}
function speakC(){
    this.name = "C";
    this.n = "ddd";
}
speakA();output is C undefined
Why can thealert statement output C before the this.name assignment statement, but the second output is undefined,? is it related to window.name? Is the window.name attribute assigned first by default?
