Skip to content

ye

Refers to the current object instance inside a class method.

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.

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

mofutakwalo, motlhophisi