let firstName = "Doe"; let lastName = "Sam"; // Swap [firstName, lastName] = [lastName, firstName]; console.log(firstName, lastName);
Sam Doe