var str = new String("OnePiece");
console.log(str.toString()); //OnePiece
//it returns a string representing the calling object.
//The toString() method does not change the original string.
//The toString() method can be used to convert a string object into a string.
let x = 123;
x.toString();
(123).toString();
(100 + 23).toString();
var num = 1345;
console.log(num.toString());