1
I was doing some tests here, and I noticed a difference in the this within literal objects:
obj = {
    context: this,
    showContext: function(){ return this }
}
If I do pessoa.context the this will point to the object window, but if I do pessoa.showContext()  the this returned will point to the object obj and not for the function showContext. Does anyone know the reason for this behavior?
In the documentation has several examples explaining this
– Costamilam