deletePropertyForKey method

void deletePropertyForKey(
  1. JSValue propertyKey
)

Implementation

void deletePropertyForKey(JSValue propertyKey) {
  final JSException exception = JSException.create(_context);
  try {
    js_bd.JSObjectDeletePropertyForKey(_context.ref, _ref, propertyKey.ref, exception.ref);
    if (exception.shouldThrow) {
      throw exception.error;
    }
  } finally {
    exception.release();
  }
}