Definition: The ReferenceError object is passed when a statement contains an illegal reference. This is not a reserved word so you can declare your own variable or function called ReferenceError but if you do then you will not be able to use error handling.

