9 lines
86 B
Text
9 lines
86 B
Text
|
|
set MyObj = {
|
||
|
|
a=10;
|
||
|
|
AddA=func(self,x){
|
||
|
|
send self.a+x;
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
log(MyObj::AddA(2));
|