Answers for "add text to string javascript"

1

add text to string javascript

let string = "hello";

string += " world"; // "hello world"

const newString = string + "!"; // "hello world!"
Posted by: Guest on May-31-2021

Code answers related to "add text to string javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language