SETSWANA TRANSLATION: Skip to content

ye

SETSWANA TRANSLATION: Refers to the current object instance inside a class method.

SETSWANA TRANSLATION: Inside 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.

SETSWANA TRANSLATION: ye.lebitso
SETSWANA TRANSLATION: Access instance fields
mofutakwalo Sediko {
  motlhophisi(r) {
    ye.r = r;
  }
}

mofutakwalo, motlhophisi