-
Notifications
You must be signed in to change notification settings - Fork 864
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'name' and 'length' properties of Functions should be configurable #715
Comments
Sounds great - i guess you are already working on this.... |
I mostly know what to do -- the "IdScriptableObject" interface makes this
harder and I'm in progress of creating an alternative based on lambdas --
but we still need to fix it in BaseFunction itself.
However, I created this so I could put the idea aside while working on
other stuff, so if you or someone else has time to try it and most
importantly figure out which of the many tests it affects, that would be a
big help! I'll put a comment here if I look at it.
…On Tue, Jun 16, 2020 at 8:56 AM RBRi ***@***.***> wrote:
Sounds great - i guess you are already working on this....
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#715 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD7I2Z7PC63QV2VAYB6TALRW6IZRANCNFSM4N7IJIYA>
.
|
@gbrail as the lambda-based stuff is in now (if I'm not mistaken), could you elaborate how the lambda stuff makes it easier? On a sidenote: #963 also requires changing existing implementations to be spec-compliant and while {Map,Set).size is implemented correctly from a spec point of view, I feel the IdScriptableObject approach makes the implementation a lot more cumbersome that it maybe ought to be. I tried something like this in the init method of NativeRegExp to add the
|
This is part of ECMAScript's section on Function objects (currently 19.2). A lot of test262 tests will pass if this is fixed.
Fixing this means modifying BaseFunction to not only return the right attributes but to allow those attributes to be deleted.
The text was updated successfully, but these errors were encountered: