object property
JSObject
object
Implementation
JSObject get object {
final JSException exception = JSException.create(_context);
try {
final JSObjectRef objectRef = js_bd.JSValueToObject(_context.ref, _ref, exception.ref);
if (exception.shouldThrow) {
throw exception.error;
}
return JSObject(_context, objectRef);
} finally {
exception.release();
}
}