retain method

void retain()

Retains a JavaScript class.

Implementation

void retain() {
  pointer = JSObjectRef.jSClassRetain(pointer);
}