string.toString
const stringObj = new String('foo');
stringObj; // String {"foo"}
stringObj.toString(); // "foo"Syntax
str.toString()Return value
Description
Examples
toString() ์ฌ์ฉ
const x = new String('Hello world');
x.toString(); // "Hello world"Last updated