mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 17:15:26 +00:00
LibJS: Convert create_data_property_or_throw() to ThrowCompletionOr
This commit is contained in:
@@ -442,7 +442,7 @@ void ECMAScriptFunctionObject::InstanceField::define_field(VM& vm, Object& recei
|
||||
return;
|
||||
init_value = init_value_or_error.release_value();
|
||||
}
|
||||
receiver.create_data_property_or_throw(name, init_value);
|
||||
(void)receiver.create_data_property_or_throw(name, init_value);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user