Create two new string variables: myFirstName and myLastName and assign them the values of your first and last name, respectively

var myFirstname = “Hudson”;

var myLastName = “Corwyn”;

// Only change code below this line

var myFirstname = “Belly”;

var myLastName = “matt”;

 Any valid hint ?

This wont work because you are trying to initialize the same variables twice.

Using the ‘var’ keyword initializes the variable. If you want to re-assign a variable that already exists, then you don’t need the ‘var’ there at all.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.