<<< How to join a string and a number | Index | string += operator >>> |
How to append one string to another with the + operator:
firstName = "Bob"; // firstName is Bob lastName = "Smith"; // lastName is Smith name = firstName + " "; // name is Bob followed by a space name = name + lastName; // name is Bob Smith
<<< How to join a string and a number | Index | string += operator >>> |