🏠 Go back to the homepage The String valueOf() method Find out all about the JavaScript valueOf() method of a string Published Mar 12 2019 Returns the string representation of the current String object: const str = new String('Test') str.valueOf() //'Test' Same as toString(). Download my free JavaScript Beginner's Handbook!