Anything related to JavaScript ReferenceError that it is thrown when trying to dereference a variable that has not been declared.
The JavaScript ReferenceError object represents an error when a non-existent variable is referenced. A ReferenceError is thrown when trying to dereference a variable that has not been declared.