Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up$http.delete shows warning "avoid using JavaScript unary operator as property name" #11090
Comments
I think the point of this was to avoid problems by using keys in object with names like For anybody willing to give this a try: I marked this as a good first issue but it might be harder than I think because it depends on the logic that exists regarding the warning |
created PR #11092 for this #issue |
tyschroed
added a commit
to tyschroed/vue
that referenced
this issue
Feb 25, 2020
Update error-detector to look for `.` prefix, indicating function is associated with an object fix vuejs#11090
tyschroed
added a commit
to tyschroed/vue
that referenced
this issue
Feb 25, 2020
Update error-detector to look for . prefix fix vuejs#11090
PR #11409 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.6.11
Reproduction link
https://codepen.io/frOracle/pen/vYOEEVW
Steps to reproduce
use $http.delete in @click
What is expected?
$http.delete is a function, not unary operator
What is actually happening?
a warning "avoid using JavaScript unary operator as property name"
Related #5464