how to add character in string in javascript?
Hi Friends 👋, Welcome To Infinitbility! ❤️ To add a character in a string in javascript, just use the + operator it will concat two strings in one string and for short syntax, you can also use the += operator. let’s take an example of adding two characters in a single string. let name = ""; name += "Infinite"; name += " "; name += "Ability"; console.log(name) // 👇️ Output // Infinite Ability Today, I’m going to show you How do I add a character in a string in javascript, as above mentioned here, I’m going to use the + operator to add a string to another string....