Replies: 1 comment 1 reply
-
I am new to Javascript as a backend developer, surprised that delete is reserved word in Javascript! 😰 |
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
-
When the function of x-data is named
delete
, Alpine will report the following error, for detailed stack trace please see here https://jsfiddle.net/ntve9org/2/. If I changed it to another name, everything was fine.I don't know if there are any internal functions/properties that might conflict with user-defined function names,
Please refer https://jsfiddle.net/ntve9org/2/ to see the full detail.
Beta Was this translation helpful? Give feedback.
All reactions