/

HTML / CSS / JavaScript Tutorial

JavaScript String method: valueOf()

[this page | pdf | back links]

The valueOf() method (when applied to a JavaScript string) returns the string value of the string (i.e. itself).

 

It has the following syntax (with no parameters):

 

error.valueOf()

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript String Variables


Desktop view | Switch to Mobile