Explanation : Uncaught ReferenceError: variable xxx has not been defined
Reason for error: Undefined variables are used in the code, such as assigning values to undefined variables
Solution: Generally, the file and line number where the error code is located will be informed after the error message prompt