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

Update to tape 3 #2

Closed
wants to merge 1 commit into from
Closed

Update to tape 3 #2

wants to merge 1 commit into from

Conversation

tomhughes
Copy link

Because tape 3 uses hasOwnProperty internally we need to restore
it before calling t.equal or things will fall over with:

TypeError: Cannot call method 'call' of undefined

Because tape 3 uses hasOwnProperty internally we need to restore
it before calling t.equal or things will fall over with:

TypeError: Cannot call method 'call' of undefined
@ljharb
Copy link
Member

ljharb commented Jul 14, 2015

This seems like a bug in tape (ie, not caching Object.prototype.hasOwnProperty internally the instant it's required, not something that clients should have to work around.

This pull request was closed.
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