String.toString toString Description String.toString() Return values string primitive. Examples Example #1 – toString example Runconsole.log('Hello World'.toString()); // Hello World External references Mozilla: String.toString method