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

[Tests] add tests for function proxies #53

Merged
merged 1 commit into from
May 19, 2020

Conversation

ExE-Boss
Copy link
Contributor

@ExE-Boss ExE-Boss commented May 19, 2020

Proxy exotic objects with a [[Call]] internal method are a valid this parameter for Function.prototype.toString since tc39/ecma262#664 (tc39/ecma262#697).


Supersedes and closes #25

Co-Authored-by: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>
Co-Authored-by: Dillon de Voor <dillon@crocodillon.com>
Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is great

test/index.js Outdated Show resolved Hide resolved
@ExE-Boss
Copy link
Contributor Author

Apparently, the EditorConfig linter and ESLint are conflicting on the style of multi‑line comments.

@ljharb
Copy link
Member

ljharb commented May 19, 2020

I'll take care of it, thanks.

@ljharb ljharb merged commit a11b801 into inspect-js:master May 19, 2020
@ljharb ljharb deleted the test/proxy branch May 19, 2020 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants