active web pages

Active Web Pages - content previous page next page

deutsch
Zur deutschen Version
po polsku
Do wersji polskiej
Russian
К русской версии

Content

Functions as attributes of objects


functionX() { 
return 2 * this[0]; 

... 
X = new Object(); 
X.Attribute1 = 4; 
X.f1 = functionX; 
U = X.f1();

U has the value 8 (2 * X.Attribut1)

About me  
Internet  
Guitar  
Literature  
Linguistics  
Software  
Links  
Contact