/

HTML / CSS / JavaScript Tutorial

JavaScript Error method: valueOf()

[this page | pdf | back links]

The valueOf() method (when applied to a JavaScript Error object) returns the string value of the error.

 

It has the following syntax (with no parameters):

 

error.valueOf()

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Error Objects


Desktop view | Switch to Mobile