JavaScript Symbol.replace PropertyThe JavaScript Symbol.replace symbol determine the method that replaces the matched substring of a string. SyntaxParametersString. Return valueA new string. Browser Support
Example 1Test it NowOutput: Before: java After: Javatpoint Example 2Test it NowOutput: Before: javatpoint After: JAVATPOINT
Next TopicJavaScript Symbol
|