Skip to content

fix: hasOwnProperty is not a function #294

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

Merged
merged 1 commit into from
May 28, 2018
Merged

Conversation

ydfzgyj
Copy link
Contributor

@ydfzgyj ydfzgyj commented May 28, 2018

this.$options.methods may created by Object.create, so the object without a prototype can not use hasOwnProperty directly

this.$options.methods may created by `Object.create`, so the object without a prototype can not use `hasOwnProperty` directly
@Akryum
Copy link
Member

Akryum commented May 28, 2018

Thanks! 👍

@Akryum Akryum merged commit 086b57a into vuejs:master May 28, 2018
@ydfzgyj ydfzgyj deleted the ydfzgyj-patch-1 branch June 24, 2018 17:41
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