mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
LibJS: FunctionEnvironment.[[FunctionObject]] is the *invoked* function
We were setting the wrong [[FunctionObject]] on the environment when going through ProxyObject and BoundFunction.
This commit is contained in:
parent
08d2ea3fac
commit
b650d11dd3
10 changed files with 14 additions and 14 deletions
|
@ -47,7 +47,7 @@ Value NativeFunction::construct(Function&)
|
|||
return {};
|
||||
}
|
||||
|
||||
FunctionEnvironmentRecord* NativeFunction::create_environment_record()
|
||||
FunctionEnvironmentRecord* NativeFunction::create_environment_record(Function&)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue