JAVASCRIPT Tutorial
Concatenation
"Hello" + "World" returns "HelloWorld".String Manipulation
.toUpperCase(): Converts string to uppercase..toLowerCase(): Converts string to lowercase..includes(): Checks if a string contains a substring.String Joining
join() method to combine multiple strings into a single string.["Hello", "World"].join(" ") returns "Hello World".// Concatenation
const name = "John";
const surname = "Doe";
const fullName = name + " " + surname; // "John Doe"
// String Manipulation
const upperName = name.toUpperCase(); // "JOHN"
const lowerSurname = surname.toLowerCase(); // "doe"
// String Joining
const arr = ["red", "blue", "green"];
const colors = arr.join(", "); // "red, blue, green"