mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:37:36 +00:00
LibJS+Spreadsheet: Use js_string(VM&, ...) overload more
This commit is contained in:
parent
bac3c2cf6d
commit
312946059b
21 changed files with 24 additions and 24 deletions
|
@ -1110,7 +1110,7 @@ Value add(GlobalObject& global_object, Value lhs, Value rhs)
|
|||
StringBuilder builder(lhs_string.length() + rhs_string.length());
|
||||
builder.append(lhs_string);
|
||||
builder.append(rhs_string);
|
||||
return js_string(vm.heap(), builder.to_string());
|
||||
return js_string(vm, builder.to_string());
|
||||
}
|
||||
|
||||
auto lhs_numeric = lhs_primitive.to_numeric(global_object);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue