Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set numBoundArgs after setting boundArgs
https://bugs.webkit.org/show_bug.cgi?id=255540 Reviewed by Yusuke Suzuki. numBoundArgs is always zero because it is never changed after being set to zero. It is clear from the code itself that the number of arguments is meant to be set, but whoever programmed this part forgot to do so. * Source/JavaScriptCore/runtime/FunctionPrototype.cpp: (JSC::JSC_DEFINE_HOST_FUNCTION): Assign numBoundArgs to the size of the boundArgs array. Canonical link: https://commits.webkit.org/264109@main
- Loading branch information