Question: / / STEP 1 : Update the following variable to print your name using arguments. var name = 'First Last'; console. l o g (

//STEP 1: Update the following variable to print your name using arguments.
var name = 'First Last';
console. log('My name is ', name);
//STEP 2: Update the following variable to print your hometown using string concatenation.
var hometown = 'Durham';
console. log('I am originally from' + hometown +'') ;
//STEP 3: Update the following variables to create a cohesive sentence using string substitution.
var duration =10;
var interval = 'years';
console. log('I have lived in Durham for %d %s.', duration, interval);
//STEP 4: Update the following variable to create a cohesive sentence using template literals.
var destination = 'Durham, NC';
console. log('One day I would like to visit ${destination}.");
//STEP 5: Update the following prompt with 3 Javascript features or capabilities.
console. log(3 things I would like to learn in WEB-115 are: ??
?2+
'??? t1. Item 1?
?2+
-??t2. Item {:2?
?-);
 //STEP 1: Update the following variable to print your name using

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!