OpenHarmonyJSBase is the parent of OpenHarmonyJSClass and OpenHarmonyJSObject.
| OpenHarmonyJSBase | Construct an OpenHarmonyJSBase from exported name or napi value. |
| Dispose | Use to dispose a OpenHarmonyJSBase object. |
| GetNapiRef | Get napi reference of a JavaScript class or object. |
| GetNapiValue | Get napi value of a JavaScript class or object. |
| ToString | Convert the napi value to string. |
| CallImpl | Call a JavaScript function. |
| CallPromiseSyncImpl | Synchronously call a JavaScript function which returns a promise. |
| GetImpl | Get value of specified field. |
| SetImpl | Set value of specified field. |