Event named "do". #4237
Unanswered
cfjedimaster
asked this question in
5. Bugs
Replies: 1 comment 1 reply
-
do is a reserved word in javascript, you can't call a function like that. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I added this to a button,
@click="do(cat)"
and got an error:Now, I admit, do is not a great name for a function, I had planned to give it a better name later, but it seems like only "do" causes this issue. I tested with aa, bb, and multiple other ones, and doIt is fine too. It seems that just "do" is an issue. Any reason why?
Beta Was this translation helpful? Give feedback.
All reactions