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