Home>replace() JavaScript String Method>Edit It: Replace 'Friday' with 'Sunday'Edit It: Replace 'Friday' with 'Sunday'This code shows how to replace 'Friday' with 'Sunday'.See it on StackBlitz