# Developer Request: Supporting Arrow Functions as Class Fields in Wix

Source: https://support.wix.com/en/article/developer-request-supporting-arrow-functions-as-class-fields-in-wix (updated 2025-08-21)
Status: feature request, collecting votes
Related: Wix developer documentation, https://dev.wix.com/docs/llms.txt; Help Center index, https://support.wix.com/en/llms.txt

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.
