mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:47:45 +00:00
LibJS: Rename ScriptFunction => OrdinaryFunctionObject
These are basically what the spec calls "ordinary function objects", so let's have the name reflect that. :^)
This commit is contained in:
parent
ba9d5c4d54
commit
c8270dbe2e
17 changed files with 60 additions and 60 deletions
|
@ -242,7 +242,7 @@ bool Value::is_constructor() const
|
|||
return false;
|
||||
if (is<NativeFunction>(as_object()))
|
||||
return static_cast<const NativeFunction&>(as_object()).has_constructor();
|
||||
// ScriptFunction or BoundFunction
|
||||
// OrdinaryFunctionObject or BoundFunction
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue