Por que "isto" em uma função anônima é indefinido quando se usa estrit
Por que éest em uma função anônima indefinida ao usar javascript no modo estrito? Entendo por que isso pode fazer sentido, mas não consegui encontrar nenhuma resposta concret
Exemplo
(function () {
"use strict";
this.foo = "bar"; // *this* is undefined, why?
}());
Teste em um violino:http: //jsfiddle.net/Pyr5g/1 Verifique o logger (firebug