JavaScript Program to Replace all Instances of a Character in a String | Vultr Docs