10.2.1.2.6 ImplicitThisValue

2010-05-06

mixed ImplicitThisValue()

Return the binding object if the provideThis flag is true, undefined otherwise.

Code: (Meta Ecma)
function ImplicitThisValue(){
var envRec = this;
if (envRec.provideThis) return envRec.bindingObject;
return undefined;
}