mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00
LibJS: Remove non-specification compliant exception check
This commit is contained in:
parent
e90e4ac1e2
commit
69430855e0
1 changed files with 1 additions and 2 deletions
|
@ -496,8 +496,7 @@ Object* create_mapped_arguments_object(GlobalObject& global_object, FunctionObje
|
|||
// 8. Set obj.[[Delete]] as specified in 10.4.4.5.
|
||||
// 9. Set obj.[[Prototype]] to %Object.prototype%.
|
||||
auto* object = vm.heap().allocate<ArgumentsObject>(global_object, global_object, environment);
|
||||
if (vm.exception())
|
||||
return nullptr;
|
||||
VERIFY(!vm.exception());
|
||||
|
||||
// 14. Let index be 0.
|
||||
// 15. Repeat, while index < len,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue