JavaScript Symbol.toString() MethodThe JavaScript Symbol.toString() method purpose is to return a string representation of an object. SyntaxParametersNo Parameters. Return valueA string representing the specified Symbol object. Browser Support
Example 1Test it NowOutput: Symbol(JavaTpoint) Symbol(Java) Example 2Test it NowOutput: Symbol(DBMS) Symbol(JavaTpoint) Next TopicJavaScript Symbol |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India