I was surprised about the behavior of the following script, when executed in Chrome's js console:
var me = { name: 'John'};
function theFunc(){
console.log(this);
}
theFunc.bind(me);
theFunc();//this is window???
I was expecting the bind function call to bind to the object literal...