LibJS: Convert create_data_property_or_throw() to ThrowCompletionOr

This commit is contained in:
Linus Groh 2021-10-03 01:18:46 +01:00
parent bb2499cd7a
commit 364dd42fc8
Notes: sideshowbarker 2024-07-18 03:07:25 +09:00
30 changed files with 148 additions and 167 deletions

View file

@ -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);
}
}