Javascript examples for DOM:Error
JavaScript Error name Property - function does not exist
<!DOCTYPE html> <html> <body> <p id="demo"></p> <script> try {/*from w ww. jav a2 s. c o m*/ functionDoesNotExist("hi!"); } catch(err) { document.getElementById("demo").innerHTML = err.name; } </script> </body> </html>