JavaScript Replace String Javascript replace string is a string method for replacing a matching string and return a new string. But if matching string not matched then return a original…
String starts with method In javascript, the string startsWith() method is used to check whether the string starts with a specified string. String startsWith() method return a boolean value. Which…
Three dots with string In javascript, three dots can a spread operator which expand the iterable such as array, string, etc where zero or more arguments is expected. But rest…