JavaScript Try and Catch

Javascript Try…catch statement to check if there is errors in a block of code.


Other examples in Trycatch (JavaScript Language)
Result from the Online TryIt-Editor
chrome 1.0safari 1.0Firefox 1.0ie 3.0opera 4.0