ye
→ thisRefers to the current object instance inside a class method.
ye.lebitsoInside a method declared on a class, ye refers to the specific instance the method was called on. Use it to read and write the instance’s own fields.
Examples
Section titled “Examples”mofutakwalo Sediko {
motlhophisi(r) {
ye.r = r;
}
}