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