Adds js-invoke-function-method dispatched from js-invoke-method when the receiver is a JS function (lambda/function/component/callable-dict) and the method name is one of call/apply/bind/toString/name/length. call and apply bind this around a single call; bind returns a closure with prepended args. toString returns the native-code placeholder. 6 unit tests, 450/452 total (Array.prototype.push.call with arrayLike still fails — tracked as the 455x 'Not callable array-like' scoreboard item which needs array methods to treat dict-with-length as a list). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
74 KiB
74 KiB