deletePropertyForKey method

void deletePropertyForKey(
  1. JSValue propertyKey
)

iOS 13.0

Implementation

void deletePropertyForKey(JSValue propertyKey) {
  final JSException exception = JSException.create(context);
  JSObjectDeletePropertyForKey(
    context.ref,
    _ref,
    propertyKey.ref,
    exception.ref,
  );
  if (exception.shouldThrow) throw exception.error;
}