Developer Request: Supporting Arrow Functions as Class Fields in Wix
Collecting votes
Currently there is no support for defining arrow functions as class fields in Wix. The code editor doesn't recognize this JavaScript syntax within public class definitions, which results in syntax errors. As an alternative, you can use traditional function declaration syntax within classes until support for arrow function class fields is available.
We are always working to update and improve our products, and your feedback is greatly appreciated.