mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +00:00
LibJS: Use String::formatted() in various other places
This commit is contained in:
parent
2e2571743b
commit
123f98201e
7 changed files with 23 additions and 22 deletions
|
@ -33,7 +33,7 @@ BoundFunction::BoundFunction(GlobalObject& global_object, Function& target_funct
|
|||
: Function::Function(*global_object.function_prototype(), bound_this, move(arguments))
|
||||
, m_target_function(&target_function)
|
||||
, m_constructor_prototype(constructor_prototype)
|
||||
, m_name(String::format("bound %s", target_function.name().characters()))
|
||||
, m_name(String::formatted("bound {}", target_function.name()))
|
||||
, m_length(length)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue