summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/SetIterator.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-01-15 17:18:12 +0100
committerLinus Groh <mail@linusgroh.de>2022-01-16 01:54:48 +0100
commit13fe4e8c64972ef91af9035a746f3fb55dff9c8e (patch)
tree409d4ce4e245db78ffafef343ac17ef15771fdba /Userland/Libraries/LibJS/Runtime/SetIterator.cpp
parentf0b2179bd79c4cd952ccad81e571307a6606b84e (diff)
downloadserenity-13fe4e8c64972ef91af9035a746f3fb55dff9c8e.zip
LibJS: Allow passing prototype to ECMAScriptFunctionObject::create()
This should have been the default as it roughly represents the OrdinaryFunctionCreate AO. For now, keep two overloads and continue to guess the required prototype from the function kind in most cases. The prototype needs to be passed in explicitly when it may be derived from user code, such as in the CreateDynamicFunction AO.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/SetIterator.cpp')
0 files changed, 0 insertions, 0 deletions