retain method

void retain()

Retains a JavaScript string. @result (JSStringRef) A JSString that is the same as string.

Implementation

void retain() {
  _pointer = JSStringRef.jSStringRetain(_pointer);
}