contents   index   previous   next



SE.THIS

Whenever a function is called, it has a this variable associated with it. For instance, when you call a function such as:

 

foo.func();

 

foo is the this variable for the function call to func(). When you don't specify an explicit this variable, such as:

 

func();

 

The this variable is implicitly the global object. You can access the this variable for your wrapper function, which is always an object, and its members by using the SE.THIS stock object. If you use SE.THIS outside of a wrapper function, it is always the global object.

 

You cannot write to SE.THIS,SE.VALUE, it is read-only.

 


SE.SCOPE