SOURCE

function foo (){
    console.log(this.a)
}

var obj = {
    a:1,
    foo
}

console.log(obj.foo())

var b = obj.foo;

console.log(b() === window.b())

asd
console 命令行工具 X clear

                    
>
console