Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

"Function not defined" error occurs when the function is called before it is defined or if it is defined incorrectly. This error is not related to converting a function into an arrow function. The conversion to arrow function should not cause this error if it is done correctly.