Skip to content
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

Implement Function.prototype.call #797

Closed
RageKnify opened this issue Oct 5, 2020 · 0 comments · Fixed by #805
Closed

Implement Function.prototype.call #797

RageKnify opened this issue Oct 5, 2020 · 0 comments · Fixed by #805
Assignees
Labels
builtins PRs and Issues related to builtins/intrinsics enhancement New feature or request

Comments

@RageKnify
Copy link
Contributor

ECMASCript feature
I noticed recently that Function.prototype.call exists and is not implemented.
ECMAScript specification.

Example code
This code should now work and give the expected result:

let e = new Error();
Object.prototype.toString.call(e)

The expected output is "[object Error]"

@RageKnify RageKnify added enhancement New feature or request builtins PRs and Issues related to builtins/intrinsics labels Oct 5, 2020
@RageKnify RageKnify self-assigned this Oct 5, 2020
RageKnify added a commit to RageKnify/boa that referenced this issue Oct 5, 2020
RageKnify added a commit to RageKnify/boa that referenced this issue Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builtins PRs and Issues related to builtins/intrinsics enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant