Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

add text to string javascript

let string = "hello";

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

const newString = string + "!"; // "hello world!"
 
PREVIOUS NEXT
Tagged: #add #text #string #javascript
ADD COMMENT
Topic
Name
8+3 =