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

Populate result with new operator if new.target is defined #30

Closed
wants to merge 3 commits into from
Closed

Populate result with new operator if new.target is defined #30

wants to merge 3 commits into from

Conversation

trivikr
Copy link

@trivikr trivikr commented Feb 7, 2023

Fixes: #29

@trivikr trivikr changed the title Add test for function with new.target Populate result with new operator if new.target is defined Feb 7, 2023
@trivikr trivikr marked this pull request as ready for review February 7, 2023 04:43
@trivikr
Copy link
Author

trivikr commented Feb 7, 2023

Maintainer posted fixed in #31

@trivikr trivikr closed this Feb 7, 2023
@trivikr trivikr deleted the new-target-willCall branch February 7, 2023 05:08
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.

The new.target is undefined even if spy is created with new keyword
1 participant