mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:58:11 +00:00
LibJS: Remove a few superfluous exception checks
We don't need to check for exceptions when defining properties on an array we literally created ourselves a few lines earlier.
This commit is contained in:
parent
7596ae4596
commit
7241b9ca0c
3 changed files with 1 additions and 16 deletions
|
@ -1777,9 +1777,6 @@ Value TaggedTemplateLiteral::execute(Interpreter& interpreter, GlobalObject& glo
|
|||
raw_strings->indexed_properties().append(value);
|
||||
}
|
||||
strings->define_property("raw", raw_strings, 0);
|
||||
if (interpreter.exception())
|
||||
return {};
|
||||
|
||||
return interpreter.call(tag_function, js_undefined(), move(arguments));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue